am learning some VB 2008, and I am stuck, How would I go about changing some hex values in a file that I open from my OpenFileDialog?I don't want to actually SHOW any hex code, I justneed say 04 changed to 01,02,03,04,05,06,07,08,etc. They are at 0x0001B876... I just want a user to be able to chose an option from my combobox. I know how to say ifcombobox.selecteditem = "04"
I have an app. that creates a new file type and it has the default windows icon for not-known extensions, is there a way to change its icon after it has been created?
I have created a Outlook 2007 AddIn project with a Setup project.The settings for a databae connection are in the registry.Now I want to create a config file outside the msi so the settings for the database connection can be changed before the addin is installed.It is no problem if the settings stay in the config file instead of the registry.I have googled around but found no solution yet.
How can I change a Icon of a EXE that is already build with .Net. I know I can change it with ResHacker but is it possible to change the Icon with .Net Code.
I have a process which creates file names based on GUIDs in a particular path, in order to guarantee uniqueness. These files are then attached as a file when sending mail via System.Net.Mail.SmtpClient. The problem is I want to somehow rename the attachment name as it will appear in the email, rather than displaying the GUID. Is there a way to specify what the resulting file attachment name will be on the fly? I can't rename the phsyical file because there could be a potential for duplicates.
So, I've got a text boxes which loads up a content from a XML file, usually a numbers I want a button, so when I will change the numbers on the text box, the data in file will change as well, in other words a save button That's how the data is being taken from a file
[code]...
Those EditPaths, Playa2 etc are making up a path to a file
I need to be able to change a path inside a document ( a config file to a program) to the current directory of the application im creating in VB so the text file looks something like
I am using net 2010 net framework 2 & w7 In windows explorer I want to move or rename a file but I get a windows message with a heading "File Access Denied" you need administrator permission to do this In my vb code I want to move the same file but get an error, the security on the file is "Read & execute" and "Read" How do I detect this before the code for moving & also set the permissions so I can move it with vb code.
On an xp system using VB 2008 exprees, I'm trying to write code which will change a file's permisions when run from a non admin account. To do this I need to now how to run the code as an administrator. I've got the code to change permissions working, I just don't know how to run it with an administrator's credentials. The code is:
Imports System.IO Imports System.Security.AccessControl Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
How to change the frame rate in Visual Basic 2008 Media Player? I have error: System.NullReferenceException was unhandled Message: Object reference not set to an instance of an object. IS there any way to fix this? Here's My Code
OK So basically as the title says, in my browser i have tabs, now when a new tab is open and the user will go to a new page, if they click to the next tab the url box & document title remain the same (until they click a link or something) are there any methods of detecting when the person clicks to another tab so that i can code it to change the textbox and form text?
i m developing a window application using vb.net & ms sql server 2008. The date is by default mm/dd/yyyy. But i wanna change this to dd/mm/yyyy. How is it possible and where do i hv to make changes?
Reading a .txt file in VB.net. My file path is C:UsersMyLilMulePepeDocumentsVisual Studio 2008Projectscurtain_calls.txt.
This is my line of Dim LoanOptionsFile As String = "C:UsersMyLilMulePepeDocumentsVisual Studio 2008Projectscurtain_calls.txt"
I can read the file when I run the program, but how do I write the file path so that someone else can download my program and file and read the file on their system?
I'm using Visual Studio 2010 / VB / dot net 4.0, and I have a drop-down menu in my left column that switches resource languages for the end user. It reads like this:
--------English ------- <<- Engish is always the default top language option French | Spanish |
in my program have 2 textbox-textbox1 and textbox2. 2button-Open and Save. and 2radio button-csv and shp. the situasion is when user 'Open' user will select any file(e.g:hello.txt) and it works-C:\Program File\Document\hello.txt display on textbox1. Now if i want select radio button whether csv or shp the output will display on textbox2 and change the C:\Program File\Document\hello.txt to C:\Program File\Document\hello.csv(if i select csv).
I am making a program to print on a printer with auto cut. The height of page is different each print. It depend on how many lines printed. how to make this change?
I try: PrintDocument1.DefaultPageSettings.PaperSize but how to change its
How to change value of addresses in vb 2008? i want to change a value of a address in vb 08, it need to change a address from an other program. I have the addresses and the types of the addresses are float, 4 bytes and 2 bytes.
I have a txt file (lets say 'C:myfile.txt') which has a specific format.How can I see what is the exact format of this file? And how can I change it to a DOS format? I want to make an import into a DOS program and the I have serious problem with code page.
I have close to 10,000 serverside pages, all of thse use the same stylesheet. I have created a new serverside page which is like a dynamic menu system to help find specific pages from the existing 10,000 pages quickly and easily.
The problem is, that if the serverside pages are accessed the old way using the old menu system, they should retain their old stylesheet. however, if they are accessed via the new menu system, they should use a new refreshed stylesheet.
I'm using vb 2010, and a newbie programmer I just want to ask how to change the description of the .exe file from WindowApplication1 to something else and how to change its icon? By the way, does applications made in vb 2010 requires .net Framework to run? Because i tried to run my .exe file in another pc but it gives me an error.
i'm using vb 2008 express edition and i'm trying to create a little software and i need to know how to change an extension of a file :like from myfile.rar to myfile.flv only to change the extension,not convert it or anything. and also can you tell me how to terminate a process like: microsoft paint or firefox?
Im trying to change the title of a mp3 file but it doesnt work ans also error An attempt was made to move the file pointer before the beginning of the file pops up at file seek ive comented it out (ie. '///###@@) in the WriteID3v11() sub
every X and Y value must be plus with 2.54. if user enter column=5 then the first 5 velues for X must be change Y remain unchange and for the next 5 values the first Y value will be change..