Recently I was upgrading a Camera Interface program from VB6 to VB.Net. While upgrading I came across an error:1)"Address of" Expression cannot be converted to Integer, because integer is not a delegate type.This Error was on this line of Code;
In vb6 we had an option of compiling VB5 codes. Similarly in Vb.net is there any option of compiling vb6 code as it is with some compatibility changes without upgrading the code to vb.net.
how i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
I have a program in vb express 2008 which I would like to publish in a little more professional manner than provided in the standard vb express package. I would at least like to include a "Terms of Use" document the user must agree to before installing the program. I have dovnloaded and installed web developer, c# and vs 2008. Do any of these include a professional installer? If not are there any free installer packages available? I am 72 and live on a limited budget so I cannot aford an expensive package for one program.
I am trying to launch a program using System.Diagnostics.Process.Start("C:Program FilesFrets on FireFretsOnFire.exe") but the program always fails - the program generates an error log - so its obviously trying to start - ive included the log text but i doubt it will be useful.
Traceback (most recent call last): File "FretsOnFire.py", line 45, in <module> File "GameEngine.pyo", line 23, in <module>
Yet it runs fine when double clicked? why i can launch it from explorer but not from my code
Im trying to see if you can make a GUI that can edit the Source code of your progam and then building it as an .exe..Say you have a login program and you wanted to change the password, All you do is go to the "Edit My Account" and go to password and then enter your old password and in the next textbox your new password.Then you would click save and it will ask for a directory and save it as .exe. And when you would start your newly compiled program you can used the program you just entered in.
Lets say I have a program that has a textbox and a button. I want the button to create another program that will show a messagebox, inside the messagebox will be the textbox from the 1st program. How would I do this?
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click Dim Interest As Integer Dim Amount As Integer
I have a program that takes Command-Line Arguments and loads an appropriate form based on the arguments:
vb.net Partial Friend Class MyApplication Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup If e.CommandLine.Count > 0 Then Dim x As String = e.CommandLine(0)
[Code]...
VB.net doesn't agree often with Relative File Paths. I made this thread for others opinions on why VB.net does this, and if there's a different solution rather than using Application.StartupPath(), because this is not the first time it's plagued me, and I go every time it happens.
i am very new to VB i do not know a lot about it. Ok my problem is i have made a simple rot13 program in c# which took me a while but it works, and now i need to make a rot 13 program in VB, i have started and i have made it work until i get to the letter z, if someone types this in then they get the wrong character back, i do remember this in c# i had to add extra value to something, but this was a while ago, and i cant seem to fix it in VB,
I just reinstalled vb.net 2008 express edition, I registrate it and tried to add FreeTextBox.dll to the toolbox. I right-clicked in the toolbox, choose items and browse. I found the dll and Choosed it. In the choose items window it shows, it is checked, but when i click OK, it don't shows in the toolbox. I tried with the Ajax Control Toolkit to, but none of the items shows in the toolbox.
When I try to run a program I've written from a network drive on a windows server 2008 machine it always gives me: Open File - Security Warning The publisher could not be verified. Are you sure you want to run this software? Unknown Publisher This file does not have a valid digital signature that verifies it's publisher.... I need this message gone.
I have a simple program that collects information from a database then sends the information to a .dll, which performs some calculations. I have figured out how to build and publish my application, but I'm not sure how to include the .dll. I'd like to put the .dll is a common folder (i.e. system32) when I install the program on a PC.
I am just starting to program with Visual Basic 2008. I would consider myself at a Beginner - Intermedite level of programming with VB and looking to get better. I noticed that in other language forums on this site that there were program suggestions but didnt see one here so I thought i'd ask.
I was curious if anyone has heard of writing a program with functions only. It is part of my current assignment but all the examples I have seen all over have at least subs for the click events. SO I am a little confused to say the least.
I have Visual Studio 2008 because I'm going to college for computer science and I need to learn how to program. Also the price was right seeing as Microsoft gives copies away for free to college students through their DreamSpark program. My question is do you guys have any advice for the best or most comprehensive tutorials out there for my to start learning how to program?
I just build a program and when I install to a computer it gives me an error. The eroor is simply to install .net 2.0 and then everything works fine. So I was wondering is there a way I can package the program so it installs .net first and then the program automatically?
how I can close a running program using VB (2008).The program i had in mind was internet explorer (iexplorer.exe).If i under "form1.load" set "me.hide" (too hide form1, obviously). followed by "timer1.start" below that. Will the timer1 start on load or will the .hide function disable the form from executing commands?
the project is about this:there's a user interface(ASP.net web application) which is connected to a client / server program written in c (this program has to be in c).the c program works like this:the server has to be running, and its done by:
./server 1234 the the client tries to connect to the server by: ./client localhost 1234
when two modules are connected, different messages can be sent from the client to the server.now what i want to achieve is to send the command from the web application to the c program... so by a button click the c program would run and send the command...