I created a VB.NET Windows Forms Application in Visual Studio 2008. When I run my program from the command-line, I get no output (only the next prompt).
Why?
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Debug.Write("Foo")
Debug.Flush()
Console.WriteLine("foo")
Console.Beep(800, 100) 'confirm this function is called'
Me.Close()
End Sub
I have a SQL CLR dll I want to deploy, but have found you can embed the byte stream/varbinary_literal/ varbinary_expression/assembly bits into a text file to get around the messy hassle of packaging a DLL and making sure it's accessible for the CREATE ASSEMBLY command.
But what I have yet to find is how to get that byte stream/varbinary_literal/ varbinary_expression/assembly bits value. I haven't found any consistent terminology, and what I keep finding in using Load().
Help?
example:
buil.bat script
start /B webdev.webserver.exe /port:3234 /path:C:\projects\src\XYZWeb /VPATH:/XYZWeb
when program run this script also execution stop. How to continue execution after running this script. Problem is that build.bat never end and you must manually close it.
i look here http://ss64.com/nt/start.html but no command to conitinue executing while webdev.webserver is running.
I'm using the following command in my web application to find all files in the current directory that contain the string foo (leaving out svn directories).
find . -not -ipath '.*svn*' -exec grep -H -E -o "foo" {} \; > grep_results.txt
How do I find out the files that doesn't contain the word foo?
Whenever we make a release of a project we'll create a tag to capture the snapshot. It will be very helpful to be able to see which revisions in the trunk history were used in certain releases. I know the TortoiseSVN revision graph shows this information, but I'm wondering if there's a way to see it in the command-line svn log?
I'm coming from a Clearcase background where we'll be able to see the release labels in the history.
I have a simple query that does select * from t limit 1; on a remote mysql server.
I use squirrel(mysql client) to run it, it shows:
Query 1 of 1 elapsed time (seconds) - Total: 22.047, SQL query: 1.047, Building output: 21
why does building output take such a long time? what does this process do? when running from mysql command line, the whole process takes 0.3 secs (also remotely)
I execute the following command line for ffmpeg.exe
-i C:\Beema\video-source\DO_U_BEEMA176x144short.avi
-i C:\Beema\video-source\DO_U_BEEMA176x144short.avi
-i C:\Beema\temp\9016730-51056331-stitcheds.avi
-i C:\Beema\video-source\GOTTA_BEEMA176x144short.avi
-y -ac 1 -r 24 -b 25K
C:\Beema\video-out\9a062fb6-d448-48fe-b006-a85d51adf8a1.mpg
The output file in video-out ends up having a single copy of DO_U_BEEMA. I do not understand why ffmpeg is not concatenating.
Any help is dramatically appreciated,
I have a simple class that is using curb to retrieve data. Everything works just find from the command line, but when I load it into my rails application WebBrick crashes on the "require 'curb'" statement.
I'm extremely new to ruby so I'm not sure how exactly to debug the error from webbrick to determine what is wrong.
If someone knows how to solve this issue that would be great, if someone could also point me into the right direction to start troubleshooting the issue myself that would also help.
After I edit /etc/group and I add a user to groups it didn't belong to, the user will not be able to use it's newly acquired privileges unless it starts a new session.
Is there a command to refresh user/group properties in an ongoing session?
Hi, i am supposed to document my code with doxygen for a homework assignment, but i have problems getting doxygen to run.
I have a Doxyfile provided, and have just installed doxygen on my machine.
When i enter the command to run doxygen, "doxygen Doxyfile" I get the following error:
failed to run html help compiler on
index.hhp
can anyone clue me into what i am doing wrong?
Thanks
Anyway of invoking the Edit Advanced Format Document" VS command automatically when switching away from a document / routinely with a timer / on entering a document?
Its really irritating Ctrl+E+D'ing everytime you want to prettify your code.
Let's say I managed to get the dictionary opened for iTunes in the Applescript editor:
How would I access the "search" commands using Python with pyobjc?
I know I get can hold of the iTunes application using:
iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")
but after I do a dir on it, I don't see the search command in the returned dictionary. Help please!
Hi everyone,
Whenever i try to turn off my mac. This finder toolbar apears on top. And it doesnt remove even i try to Force Quit this application using Command+Options+Escape.
Can anybody please suggest me wats wrong with it ?
http://rapidshare.com/files/394092080/Picture_1.png
Taimur
Hi Everybody,
I have saved a site as tempalte (i.e. MyMarketing.stp) and added to sharepoint server using stsadm addtemplate command and after few days lost MyMarketing.stp file. Now it is available for creating top level sites as well. I want to get this site template back as MyMarketing.stp file. Is it possible to extract it from the server as MyMarketing.stp file?
Thanks and in advance!
Regards,
Asher
Hi.
I'm designing a little software in java.
Don't know the term/definition to what I'm doing, but I'm prompting commands from java to the terminal. Something like this:
Process process = Runtime.getRuntime().exec("command");
I've done this before in linux, and I used the gksudo for commands that required root password.
Is there any "gksudo" in os x? Any graphical popup asking for root password.
Thanks =)
I have created and am working on a server-application that monitors for specific folders and takes appropriate actions whenever files are being added.
Now I come to the point where I want to be able to shutdown the program, for example for applying a patch.
The server runs simply in a command prompt, how can I signal that I want to perform maintenance on it? I do not think reading System.In is feasible as I am also outputting text in the prompt.
Regards.
I'm running in to an error when I try to run my server application from Eclipse. The error is java.net.BindException: Permission denied. I think this is because I am using port 443 to set up an SSL connection. I can get around this problem if I run my code on the command line using javac and sudo. Is there a way to set up Eclipse so that when I hit the run button, my application is executed with sudo?
I'm using Netbeans 6.9 RC2 and Maven OSGi Bundle project template. Actually i dont want to test my bundles in Netbeans environment so i copy the jar file to the OSGi container directory and install it from command line. But when i want to see its headers from OSGi console, i see a lot of Netbeans related unnecessary stuff. Is it possible to edit the contents of the manifest file in Netbeans?
Hi, I have a CSV file and I want to bulk-import this file into my sqlite3 database using Python. the command is ".import .....". but it seems that it cannot work like this. Can anyone give me an example of how to do it in sqlite3? I am using windows just in case.
Thanks
I tried to install pygtk on mac. I downloaded the pygtk file, opened up terminal and set it to my working directory, then ran the command "python setup.py install". There was an import error because there was no module dsextras. Does anyone know how to install pygtk on a mac or get dsextras.
in http://blog.eleutian.com/2007/03/01/AsyncExecMsBuildTask.aspx i found AsyncExec task for MsBuild
<Target Name="RunCassini">
<AsyncExec Command="StartCassini.bat" WorkingDirectory="D:\PROJEKTI\_PROGRAMI" />
</Target>
but i get error MSB4036: The "AsyncExec" task was not found. I run msbuild from cruisecontrol.net
Does anyone know where is the problem?
I'm making a parameterized query using C# against a SQL server 2005 instance, and I'd like to take a look at the SQL that is run against the database for debugging purposes. Is there somewhere I can look to see what the output SQL of the parameterized command is, either in the database logs or in the Visual Studio debugger?
Hello,
I need to implement
File[] files = getFiles( String folderName, String ptrn );
Where ptrn is a command prompt style pattern like "*2010*.txt"
I'm familar with FilenameFilter class, but can't implement
public boolean accept(File dir, String filename)
because String.matches() doesn't accept such patterns.
Thanks!
In VB.NET there is the WITH command that lets you omit an object name and only access the methods and properties needed. For example:
With foo
.bar()
.reset(true)
myVar = .getName()
End With
Is there any such syntax within Java?
Thanks!