Search:
Type: Posts; User: rkeslar
Search:
Search took 0.03 seconds.
-
I'll have to look for it. It's not too big of a deal if it doesn't get deleted I guess because since I'm looping through all *.enc files in the folder, the next time the program is opened and closed...
-
Well I had that line already
fs2_write.Close()
-
First I create the file like this:
File.WriteAllText(encryptedFile, verStr)
Then I after it's acreated I append to it like this:
fs2_write = New FileStream(encryptedFile, FileMode.Append,...
-
I'm trying to delete a file in the FormClosed method, but I get an error saying it's in use by another process. At this point in my program it's not needed anymore. Is there any way to take control...
-
-
Is there any better performance by checking for a true value like this:
If (debugFlag) Then
' Do something
End If
than like this:
-
If I don't grant write permissions to the folder containing my exe file, I get an 'Access to the path bin\Release\program.exe' is denied. But if I grant it write permission I don't get the error. Why...
-
Thanks. I found this link that looks like it might be helpful
http://www.powervb.com/consoleapp.htm
That's pretty cool. I got it to work with the little gui app I wrote. I guess VB6 was...
-
How do you write a console application in vb6? I don't see an option for creating one like I do in vb.net. Is it not possible to create an app like this in vb6?
Thanks
-
I got the problem fixed thanks to this post:
http://stackoverflow.com/questions/64469/vb-net-on-vista-trying-to-get-date-today-causes-security-exception
-
I'm calling a method and passing Time and TimeOfDay to it, then in my method, I'm populating a datagrid of entries. I'm not actually trying to set the System time, just record read it but I'm getting...
-
Oh...how do you run it as a restricted user?
-
Thanks a lot for the informatino
-
Do you know where the app.manifest is usually located?
-
I'm working with a vb.net 2005 project that i converted from vb 6.0 last year. It's working fine in windows xp, but on vista and windows 7 i get an error saying 'Insufficient security permissions to...
-
What events are hit before form_load in a winforms app?
Somewhere before the form_load a file called .ini is created and I can't figure out where it's being created. It's just .ini with no name...
-
Is it possible to change the keybindings in VB6? Right now,
Step Over is Shift + F8
Step Into is F8
I'd like to make them the say as I have in VB.NET where
Step Over is F10
Step Into is...
-
Actually it was pretty easy. If there's an empty string, just set it to Nothing:
If (LineItems(3).ToString().Length = 0) Then
LineItems(3) = Nothing
End If
-
I'm adding a DateTime DataColumn to a DataTable like this:
Dim colDate As DataColumn = New DataColumn("Date")
colDate.DataType = System.Type.GetType("System.DateTime")
...
-
I needed another counter like this:
Dim i As Int32
Dim z As Int32
Dim fileCount As Int32 = 0
If (fileOpenDialogOpen.FileNames.Length > 0) Then
...
-
I'm selecting multiple files from a FileOpenDialog box. Now I want to store the names in an array. This is what I'm trying to do:
For i = 1 To fileOpenDialogOpen.FileNames.Length
ReDim...
-
In my VB.NET (desktop) application I'm adding items to a dropdown box like this:
Me.mnuSetup.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuAddUser, Me.mnuDeleteUser,...
-
-
Why do you have to escape it with 2 extra sets of double quotes instead of just one?
Why is it """C:\My Folder\My File.txt""" and not ""C:\My Folder\My File.txt"" ?
One more question
If I...
-
If I try to display a command line argument that has double quotes around, the double quotes are always stripped off. How can I avoid this?
for example, the argument is "c:\xx.txt"
and this...
-
Cool. thanks for yoru help
-
In my console app, I'm currently printing to a log file with File.AppendAllText. How would you print to the screen instead. Also, is there an echo command so that I could echo to the screen...
-
I wrote a console application where arguments are passed from the command line to a string array called args()
If someone runs the program without supplying any of the arguments, I want to catch...
-
-
Oh Ok. Thanks for the help. It shouldn't be too hard to emulate what that's doing. I have a feeling it isn't being used much though anyway. This program offers either ftp or https uploads. We wanted...
-
The VB6 version used a 3rd party component by Xceed, which I replaced with .NET methods from the System.Net.Sockets namespace. The VB6 code looked like this:
' if we need authentication, log in...
-
Well, I'm rewriting an old vb6 app. From reading the documentation for it, it states that users may provide firewall login and password if necessary but this may not work. i actually couldn't even...
-
I'm using System.Net.Sockets namespace for connecting to an ftp server. If a user has to login to a firewall first though, I'm not too sure what to do. The following is what I have working for...
-
In my setup project, I have a couple console apps that run as Install Custom Actions. They work fine, but since they exist in the file system on the target machine, they are present on the users...
-
My solution:
Pass "C:\Program Files" in as a command line argument
Imports System.IO
Module Module1
-
That worked, although for some reason it wrote out a trailing " but not one before the string. Even so I guess after writing the string, I'll want to replace all " with a blank space. Before reading...
-
I have a small console application that writes the [TARGETDIR] from my msi installer to a text file.
If I choose C:\Program Files\ as the installation folder, it only writes out
C:\Program
...
-
Thanks for all your help.
-
When a user chooses a folder to install my program to such as
C:\programA\
in this folder 5 subfolders are automatically created by the installer.
After the user chooses where the program...
-
I will check on that. Would this take care of the vshost.exe closing also?
I'm not seeing the program in the task list right now but the program name_vshost.exe still runs after the program is...
|
Click Here to Expand Forum to Full Width
|