Include C# In .net?
May 14, 2009
i have a c# script the validates emailadresses. I want to access the script in my vb project. I imported the .cs file but i have no clue to access it.
So far i added:imports microsoft.csharp
There seems no way to reach it, system does not seems to know it is there..
View 21 Replies
ADVERTISEMENT
Feb 1, 2009
Is it possible to include an SWf in an EXE? (So that there is no separate file?)
View 8 Replies
Dec 21, 2011
what I should include to write custom JavaScriptConverter class? I currently get a not defined error when inheriting it.
Imports System
Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports System.Web
[code]....
View 1 Replies
Jul 4, 2010
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?
View 8 Replies
Aug 7, 2011
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?
View 1 Replies
Jun 20, 2011
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
View 5 Replies
May 6, 2011
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
View 4 Replies
Jul 14, 2011
How do I include " in a string
e.g. said = "John said "Hi""
how to include the character " in a string ?!
View 3 Replies
Jul 7, 2011
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?
View 3 Replies
Dec 7, 2011
How to count how many rows include in DGV ?
View 3 Replies
Mar 10, 2012
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)
[code]....
View 1 Replies
Aug 10, 2011
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;
[Code]...
View 6 Replies
Aug 15, 2009
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?
View 13 Replies
Jul 7, 2009
Using VB.NET 2003 Asp.Net 1.1
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.
View 1 Replies
Dec 29, 2010
I need to include a calendar in my application
the best thing would be to include an outlook like calendar with its functionality
i have no idea how where to begin.
View 7 Replies
Jun 24, 2010
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.
View 6 Replies
Sep 9, 2011
I am making a application and want to include a friends list. I have made most of the application but I'm stuck on this.
View 8 Replies
Jun 2, 2011
I'm creating a webhandler and want to include classes from another file. How do I do this?
View 2 Replies
May 2, 2009
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?
View 2 Replies
Mar 7, 2011
How can I include a Java code with VB.NET code?
View 1 Replies
Jul 12, 2010
what Files do I need to include for the installation of my program-do I need to include all the files in the debug folder? or do i only need the EXE?
View 5 Replies
May 1, 2012
lets say its something like[code]...
i want to add a function like this inside the structure
View 2 Replies
Feb 4, 2011
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]...
View 1 Replies
Oct 22, 2010
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?
View 1 Replies
Jun 11, 2011
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?
View 6 Replies
Oct 4, 2010
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?
View 1 Replies
Jan 17, 2012
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.
View 3 Replies
Jul 13, 2011
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.
View 1 Replies
Jul 27, 2009
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)
View 4 Replies
Jan 29, 2004
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.
View 2 Replies