i got a problem with adding a code for my program.i have build a program (at least the layout and the button switches) that can count up in Counter-Strike : SourcSo when i press F7 i count a kill and when i press F8 i count a death.
Public Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Each time i go to add an icon to my program i get 'this is not a valid icon file.' it is a .ico file, i have tried .icon, as well as converting various file types to a .ico file but still i get this error
how do you add an icon to a program? are there any rules to adding one?
I'm developing a program in vb.net, and I want to add in some help pages to the program, without using web-based help, so more like when you hit F1 in the Microsoft Office programs. Is there a straightforward way of doing this, other than just making it via lots of forms?
basically what I want to do is compile a program from my program(parent) to a seperate program(child) which is a module I have created.
When I compile my child program from my parent program I want to add a .exe resource to the child and when the child program runs I want to run the resource I added.
I am working on a mass emailing program. I can send mass email successfully. My question is how do i add attachments? i have a label(lblAttachment), a textbox(txtAttachment) and a button(btnBrowse) on the attachment row.
Imports System Imports System.Data Imports System.Data.SqlClient
I have been undertaking the task of creating a POS system in VB.NET, everything is going good, but for some reason, I am having a hard time with a simple string....When I'm creating my receipt, I'm using html code within a string, then load the string into a webbrowser, this way I can easily format text and use a simple css file to change things, anyway this works well except for when I'm generating a bar code.
sREC contains all the information for the receipt that is the set to a WebBrowserControl Document text and saved as an html file. the output of that line of code is "*1243-2* " minus the quotations. I don't understand why the trailing space is added?
--EDIT--I know that is not in the variable, because I have tried the following as well
My program is running great with one little problem, it keep adding a zero to my listbox and the multiplication and sum result don't line up well. the result would be like: [Code]
i have a program that when you click a button it randomly gets a random line from the file and adds it to a textbox. Well when i give ppl the program it needs to have the .txt file in the same dir right.
But how would i add the file to the program itself ?
Or Add the contents of the file to the project ? maybe a class or something idk.
Today I'm facing the problem of adding code when the program is running.I know i can execute command, (like when i press button1 it does the command in textbox1) but I want the code to be saved.Using the setting or resource tab is not an option, (don't ask why).
Recently I've been working on a huge project, and I've wanted to make a demo version for it. So users don't have to download it without checking the features, etc. Is there anyway to upload it to my website? I have a good amount of website coding experience in HTML and PHP, but not to much with Java and JavaApplets, etc.
Is there anyway I can add my program to my website for people to use? I know it's possible, people have done it before.
Sorry for the extra long title, Here's what I want to do.I want to give the user the option of using or not using specific features of the program.If I can set a simple yes or no value that wil persist each time the program run and then depending on the variable turn off or on the feature at start
I'm afraid I don't have any code to show, as I don't know where to begin with this. I'd like to have it so that if the user presses "Ctrl+O" it will run the OpenDialogue from the Menu. If someone really wants me to (don't see how it'd help, but whatever it takes ) I can post the fully functional open function.
I've just created a game program in VBE2008.Who do I add the shortcut Icon to the project file?When I build my program into a .exe file I want it to include a small custom icon that will automatically display when you hotlink from the desktop to the .exe file.
I have a mini form application. What I need is to have a message box asking the user to confirm exist. Yes/No. This should happen if the user click the exit button on the form or the (X) on the title bar.
I have this piece of code attached to the exit button on the form. I'm trying to use an if statement but don't have a clue as to how I can apply it to what I already have.
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click MessageBox.Show("Are you sure you want to exit?", "Confirmation", _
I have several fonts I want to include in my program to be used, or just want to put them in a folder with my program, or some method of adding them to the program without having to install it on any PC that I want to use the program on.
So basically I want to Either A. Include the fonts in the program so the program can use them B. Find a way to have the program use the fonts without them being installed on the PC.
I am trying to make a renaming program, which I have done, but wanted to add drag and drop support. Firstly, when I drag and drop the files into a listbox they appear to be going in and are ordered randomly. I want them to go into the order they're dragged in. Secondly, instead of having the entire path such as: D:TVThe Big Bang Theory SeasonSeason 1The Big Bang Theory S01E01 - Pilot I want just "The Big Bang Theory S01E01 - Pilot" to go into the listbox.
when I added a textbox to my form, my keydown events no longer work. It seems impossible to get the blinking cursor out of the textbox so as to avoid targeting it. How do I retain keydown events when a textbox is added to the form?
I am using Visual Studio 2008 Setup project. I need to copy one folder and the sub folders into the program files but when I tried to copy or add the folder to "Application Folder" in File System editor, I am able to add only files and not folders.
I am trying to create a simple Word doc that when the user presses the button it takes the information in the boxes and tosses it into a template style paragraph. But my issue is that I have two combo list boxes as seen in the picture. I want to have two values in the drop down list as seen in the labels next to them but for the life of me I can't figure out how to do this in Word 2007. In Visual Studio this is much easier but I am work and need to snap this out for the folks at work. Is there an option that I can choose in the properties where I type in the values for each drop down or do I have to add them in at run time?
I'm adding labels at runtime to my form with a tag. Let's say I have 3 labels with the tags, "1", "2" and "3". I'm adding the tags by counting the labels + 1. When I remove a label with tag "2" from the form there are only 2 left. When I add a new label it will add a new tag "3", but that one already exist. So my "solution" isn't a very good one Although tag "2" is free, I want to give it "4". Any thoughts on how to code this properly?
been racking my brains on this one for a long time, and I've finally decided to ask the question. I had sevaral fields on a vb.net form which need to come together
I am making a program that NEEDS to be password protected, so i made a textbox with a code so that when the user enters the right password it lets you in. But if the user/person enters a wrong password 2X it will kick you out. So is there a way to keep the