I've tried clicking on my_app --> New Reference --> Pick the DLL from my folder, then add Imports mydll.xxxx. Doesn't seem to work, keeps saying i need to fix the import xxx.xxxxx. I've checked in my References tab and see the reference name in there. I am looking at an example of how in the modules docs, and they have an vb app that uses it, and they use import xxx.xxxx when i try to do that, it doesn't work. Any ideas?
I want to deploy the application in which some excell file are included.I deploy ten times and now i am stuck.In the code i give the file path as [code] When i publish and see the application files there is no excell files. And on the target computer the message shows no file found. How i add these files when i publish it?
I made a program that depends on mysql.data.dll, do I have to distribute the DLL along with my .exe file? or is there a way to make it to where I dont need to include it so the user only needs the .exe
How do i have my VB app look for an image in the folder where the app itself is store, or better yet, have it include the image/s in the .exe? what i mean by this is that i have a problem where if i try to test my app on another pc, it trys to look for the image in a location that cant be changed, so at the moment i have it looking in the C:, meaning that it will always have to be installed to the C:. In short, is there any wild card that i can use to say "Look in the folder that your in" to the .exe
I'm trying to include an external aspx page on my aspx (VB) page. If it were php i would have done it with a line of code like <? include "http://www.google.com"; ?> what would be the equivalent of include statement for aspx? Isn't there a VERY SIMPLE way of doing this?
I have this code i have obtaned on the forums. And it seems to only take a picture of picture boxes. I have text over it that is not caught in the picture.
s = InputBox("Enter picture name.", "Name", "Name") Dim r As Rectangle = New Rectangle(109, 22, 228, 305) Dim img As New Bitmap(r.Width, r.Height)
im using vb.net 2008 not vs, i try to include a cs file but there a no include in project explorer, so i use add existing item.but this cs file should generate a component in toolbar, but it wont, is there any other way to load it to my vb.net project?
code in *.cs file using System; using System.Text; using System.Drawing; using System.Drawing.Text; using System.Drawing.Drawing2D;
I have a call to the mediaPlayer in my project (to play a wav file). While publishing the project, vb.net does not include this wav file to the applications file and while intalling this wav file is missing. Hence I need to copy it manually. How can I make vb.net include this wav file in the installation?
I need to Include a .js in my webusercontrol,I don't know if I am doing it right.
I've been looking and found some things but not agood solid example that I can use as a test against what I havein my app.
What I actually need is code to put in my app to test against,I don't have anything to make sure that my path is right, if Ihad code and .js file that I code put in the same directory I am usingthat would be best.
I have an application that uses some external files. When a button is clicked, it opens 2 excel files and writes to one text file. When I publish this, it does not include those files. How can I make it include those files in the final solution. I have added them into my solution explorer under different folder names but they are not there.
I have a project ready to be deployed via ClickOnce and it uses free graphing software. Is there a way to either include this software so that it will be installed with my project or have the install from the graphing software run when my program is installed from the site?
I am creating a program to do an enormous amount of tasks, and I'm embarrassed to say this is the only thing I'm having trouble with!
I have a TextBox, with an id of 'reg'. Now, i also have a button (button1). On button click, i want it to open a separate Windows Form that has a web browser in it. (That's the easy part!).
I also make it navigate to a certain URL, which has a search function. What i am trying to do, is have VB give the value of the textbox (reg.Text) to the web browser, INSIDE the URL.[code]...
G'day all, I need to read a text string from a file, then convert it to an enumeration, based on a list of enumerations that is contained in a .h file located elsewhere. The .h file consists of about 300 lines that look like: [Code] This results in 2 problems, can I include the .h file in my VB program, and if so, how? And then, once I read in the string, how to make the program convert it to the corresponding enumeration for output?
I have built a movie database, and a search and insert etc queries, now when the program asked if I want to move the database to the project dir, I accepted. - but now that I'm finished, I compiled it, and tried it on another comp but it doesn't let me install, due to not having the database, is there a way to go round this? how can I include the database in my project?
I have made a program that uses the MySQL Connector DLL file.Now if I wan't to give my program to my friend, how do I include the dll file?Shall I move it to the same folder as the program exe? In that case, shall I change the reference to the dll in the EXE folder?
How to add decimal point (with two decimal places) to string, without converting string to decimal? For example (Dim str1 as String), regardless str1 has value: 100 , 100.0 , 100.00, or 100.5 , 100.50..I'd like to get the output: 100.00 or 100.50, with two decimal places.
I am writing an application in VB.NET. In the app, I have a function which calls a Powershell script and places the resulting information in a text box.How to I ensure that when my app is published, the powershell script is included?How do I reference the script in my code?
Currently, I simply give my function the full path to the script, which is in a folder on my Desktop. Obviously, this will not work once I deploy the app to other computers.
I have connected my database to visual basic.I have a form1 which allows me to scroll through all the data in my database (i.e. the name, account no, address etc)My form2 contains a calculation involving payments which involve the previous account.My form3 needs to contain this calculation PLUS the database information in a RichTextBox. My question is how do I include my DB info in a RichTextBox? (i.e how do I pass the information from form1 onto form3)
I am using the folowing code to calculate the difference between two dates. intDaysInDev = DateDiff(DateInterval.Day, calManuDt.SelectedDate, calLaunchDt.SelectedDate) I've now been told that the calculation should not include weekends.