I have an existing txt file that I want to open, get the text (which is a number), add 1 to the number and save/close the txt file.
Sound like filestream but I'm not sure how to use it. I've founds peices of information but nothing I can use together.
Any help out there?
Thanks,
I'm not exactly a total newbie, just self taught. Every now and then I get hung up on something because I don't know the programming definition of a word. Is there a site or someplace with a list of definitions? Such as Structure, Class, Enumerated data types... Those are just examples. I don't...
Can anyone tell me how to have my app create an icon on the users desktop during installation? I can't find it in the Publish section and I don't really want to buy a third party app such as installshield.
Thanks,
Bernie
I'm looking for a way to intercept the Windows Print Dialog no matter what program calls it. I want to create a dialog that asks for a project number first and then calls the Windows Print Dialog.
I want to create a billing log that will record a project number every time any program attempts...
I want to drag an item in a listbox (that represents a file) into another application. The drop is the easy part since the other application receives dropped files. How do I get started? I've tried the mousemove\DoDragDrop event with no luck.
Can anyone help me? Thanks,
Bernie
Does anyone know how to use the Windows copy animation in .NET?
It was pretty easy in VB6. Just place an animation control on a from, set a couple properties and you're in business. What could be easier?
I can't find much information on the .NET way of doing it. Any help would be appreciated.
I have a picturebox control that I want to create a pan movement that follows the cursor's movement.
I need some help getting started. I've looked at mouse down/up events along with the cursor.location property but can't seem to get it working.
Any ideas?
Thanks
I have two problems with my code for a CheckedListBox. I have a sub that checks to see if an item in a CheckedListBox is checked. If it is it's supposed to copy the corrisponding file to a folder. See code below.
Problem #1
I get an IndexOutOfRangeException error at line:
clbText =...
I'm trying to set (design time) the SelectionMode in a checkedlistbox to MultiExtended.
Here's the message I get.
"Multi-selection is not supported on CheckedListBox."
Isn't the whole purpose of a checkedlistbox to be able to select multiples? Something's not right.
In VB6 the listbox control had a style property that allowed you to set it to 1 - Checkbox. I'm not finding it in VB.NET.Any Help out there?Thanks,Bernie
Does anyone know how to get the text of a selected menustrip item?
Here's a poor representation of a menu strip item, but you get the idea.
File
|
Open
I'm looking for a way to get the text "Open" from the menuitem.
I'd like to use the TabControl with the tabs aligned to the left. That works fine except that the text on the tabs don't show up. Is there another property I have to set for that?
I can use FileDateTime("c:\temp\document.log") to retreive the date and time down to the seconds. That's the problem, I don't want it down to the second. Is there some sort of a trim method or function I can use to cut the seconds out?
Thanks,
Bernie
I'm really new to .NET and am trying to convert some of my VB6 apps. I'm using a COM component. I'm getting the following error at runtime. Can anyone explain it to me in layman's turns and suggest a fix? Thanks!
DisconnectedContext was detected
Message: Context 0x1a07a8' is disconnected...
Here's what I have. The selected text in a FileListBox is Detail.wmf. I'm trying to get strTrimmed to equal Detail without the .wmf. What am I doing wrong?
Dim strTrimmed As String = Me.FileListBox.Text.TrimEnd("wmf")
thanks,
Bernie
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.