Created A Program In .net?
Apr 29, 2009
I have created a program in vb.net, something like a inventory system. a simple one.. my only problem is, how can i add a configuration option where my user can select which server he will use for the database?
I tried using a sqldmo.. but it has an error when i instlled my program to another pc. But ive already add a reference to it.
View 9 Replies
ADVERTISEMENT
Jun 5, 2011
I'v created a program with a Ms SQL database, registration form and login form. Everything was working well so i detached the database and added it to my program as an existing item before so as to deploy the program. But now i recieve an error when i try to login to the database. The error states that there is a failure connecting to the database and the database cannot be opened
View 10 Replies
Jun 12, 2010
I finished creating my help file for my app using .chm program. Now, how do I go about associating that help file with my program so people can click on help and it's there. Do i need to bring it into my resources?
View 2 Replies
Dec 15, 2009
A weird thing just happened. I created a program wich creates folders and now when i want to "save as" an excel document in a folder created by my program this error occurs:[URL].. But this only error occurs if i try to save as an excel document
View 7 Replies
Jun 5, 2011
I have created setup file of my program & it shows error when I install it there in another pc which doesnt have visual studio. Even I have tried to install it there in another pc which has visual studio & it worked well. I am confused. I am use Vb.net 2008 and ur .net frame work will be 3.5 .It shows following error message
View 6 Replies
Dec 4, 2010
I'm facing problem while reference vb6 dll in .net project. When ever i refer a vb6 dll in .net project the interop dll is created with same version(1.2.0.0). Its creating problem for me as the setup used to deploy the application at client side does not replace the dll if the version is same as before. I want to change the version of the interop dll (created using vb6 dll). I read it cam done using tlbIMP but how to create tlb file for vb6 dll.
View 2 Replies
Nov 20, 2011
I created a VB.Net program in Visual Studio 2010 Pro. Everything runs fine in debug mode on my developement machine. I'm using setup builder installation and cryptolicensing for the license.dll. I have checked the setup program and all the files are installed on the test pc as required. The program was developed on the 4.0 client Framework. The problem is when I install the program on the test computer it will not open or run. No indication of why no messages, nothing. Can anyone steer me where to begin to find out why this is happening.
View 3 Replies
Jun 15, 2009
I created a paint type program for signatures, and now I would like to save my canvas as either a jpeg, bitmap, or gif file, but I am unsure how to go about this. Here is my code,
[Code]...
View 5 Replies
Mar 3, 2011
i have created a program which has a zoom split button. for single click zooming and percentage zooming, basically when i click the single zoom(can click forever to zoom) and clear the image, the picturebox size goes to a very small size, where as the default setting of the picture box is 590,649. is there anyway of writing abit of code so that when i clear the image after clicking the zoom button the picture box does not change when image is erased. i am working with vb.net. please help its completly thrown me. just to add i have a panel and picture box because on some zooming percentages i have scroll bars so you can pan the image by clicking and dragging mouse.
View 2 Replies
Apr 28, 2011
I created a small program which one uses the SQLite database. I have a simple table employees, composed of the name and password. I can not write sql script correctly. application code is:
Imports System.Data
Imports System.Data.SQLite
Public Class Form1
Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click
[Code]...
View 4 Replies
Mar 28, 2006
I have created a small test program for faxing.On some machines it works and on others it throws the following COM error when trying to send the fax:[code]Here is the source code from my test application.All it requires is a reference to FaxComExLib.[code]
View 15 Replies
Mar 2, 2010
I've been coding in VB.net for a while now, but still have never used the printing features. I've created a program which stores and creates customers and orders etc. I now require to print invoices related to these quotes.Is the following possible within VB.net when printing a document. Images i.e. Logo of company (which i've made already)Table of items orderedTotalshorizontal lines to split-up the design of the invoice/document.
View 2 Replies
May 10, 2010
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
'Ceci cr�e un fichier *.TXT dans un endroit statique
[Code]....
So my app is supposed to make a exercice.bak out of the .txt file but whatever I do it says the program is accessing it... any hints how i could makw the program SAVE the file and stop it's constant access to it...?
View 3 Replies
Aug 5, 2011
I have this program:
Module Module1
Sub Main()
IO.File.Create("C: ext.txt")
[Code]....
How to make my program not to use the newly created file 'text.txt'? Notepad fails to open it, it says (The process cannot access the file because it is being used by another process).
View 1 Replies
Mar 15, 2011
I would like to get some advise from all of you. I created a program setup using standard procedure(adding new project.. setup and deployment, setup project). When I ran the setup and installed the program in computer, It's working. Then I decided to amend certain form in the program. I right click at solution"my program name" and click rebuild solution. then i try to run again the setup, there is nothing happen after that(It remain like before amendment). Did I miss anything here? I have never used this method before and this is my first time using it.
View 3 Replies
Mar 11, 2011
I'm converting a bunch of FOXPRO / FOXWEB apps to ASP.NET.
The underlying DB is still foxpro (for the moment).
I am passing a table to some VB.NET code that I want to have converted to a CSV file and sent back to the client for download. And it works! Sort of ... It works sometimes, but at other times, instead of asking me if I want to download the CSV file, it just spews the file to the browser window. [code]...
View 3 Replies
Nov 5, 2010
I have a very simple ASMX page.[code]...
How do I add Access-Control-Allow-Origin to the response headers so that the webservice can be consumed by multiple websites using AJAX?
View 1 Replies
Jan 29, 2009
I have created a program that has 5 radio buttons and each button is named after a city. When clicking these buttons a picture of a landmark of that city comes up. However, I would like to enable my "clear" button.I have found a couple of examples such as;
Private Sub Clearbutton_click' Clear previous amounts from the form.
Titletextbox.clear()
Pricetextbox.clear()
end sub
So is what I attempted to do is under my DetroitButton1 i did a
[Code]...
View 11 Replies
Jun 15, 2011
Intended use of program:
1. User enters 1-3 websites they wish to monitor
2. User clicks go next to textbox with data entered, then button and a copy of form refered to as browse is created.
3. Form refered to as browse is directed to the url refered to on the form refered to as monitor, in the associated textbox(passed as a parameter to copyForm)
4. A timer is used to refresh the webpage every 10 seconds
What I wanted to happen was the program turn the associated picturebox in form1 green if page is loaded, and black is loading.
[Code]..
View 1 Replies
Aug 7, 2009
Over the last couple months I've created a fairly substantial program for a friend in vb 2008 express to deal with the management of a fantasy football league, for its data storage it uses mainly an sql server 2008 express database for all the data, however there are a couple of text files for some unrelated fixed values.
I have spent the last week or so putting some vague finishing touches on it so that I can give it to said friend to test for me. However after working perfectly fine for me for the duration of the construction and also working fine on a couple of computers I installed and tested it on, upon giving it to my friend I find that (after installing) as soon as he opens up any form which relies on database data it spits out an error akin to the following:
Exception Text:
System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
[CODE]...
Loaded Assemblies:
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase: file:/Q:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
[CODE]...
I have used a combination of LINQ and SQL statements to query and and update the database, with LINQ for querying and SQL for the updating, due to this most of the database communication is done through a LINQ to SQL datacontext using the pre-generated connection string in my app.config file: <add name="FFL.My.MySettings.FFLv2ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\FFLv2.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />
The only other time a connection string for the database is used is in an SQL execution function which uses the following: Dim connectionString As String = "Data Source=.\SQLEXPRESS;AttachDbFilename='" + Application.StartupPath + "\FFLv2.mdf';Integrated Security=True;User Instance=True"
The textfiles are also referred to using the 'Application.StartupPath + "folders/filename"' method
As for other details; I started this program on vb 2008 express but upon finding that the express version didn't have much in the manner of deployment facilities, downloaded a 90 day trial of visual studio 2008 pro to deploy the program as an msi install file. Operating system wise, I started the project on XP before converting over to Vista home premium + latest service pack (I think) which is what I've finished it on and am using currently, the 2 computers I successfully installed it on were both running XP SP3 and my friend runs a dualboot of Windows 7 and Vista (not sure what edition), he's tried it on both to no avail.
And for reference; to the above code/error, the database is called FFLv2.mdf and the project FFL.
The pre-requisites for my program (as highlighted by vb) are as follows:
.Net Framework 3.5 SP1
Windows installer 4.5
SQL Server 2008 express edition
I've tried changing the connection strings to specify a specific filepath, but that didn't help.
View 2 Replies
Apr 11, 2011
I'm trying to teach myself how to create a Random Number Generator in Visual Basic 2008 using a menu system and I'm having difficulty with the following:
If I type in a number above 100, I don't get a message appearing saying that the number that I typed is too high.I don't know what I need to code to start a new game.How do I get messages to show up when both pressing the "Check Me" button and using the "Give Me the Number" option to say whether the answer is correct or too high or too low.[code]...
View 3 Replies
Jun 14, 2011
Intended use of program:
1. User enters 1-3 websites they wish to monitor
2. User clicks go next to textbox with data entered, then button and a copy of form refered to as browse is created.
3. Form refered to as browse is directed to the url refered to on the form refered to as monitor, in the associated textbox(passed as a parameter to copyForm)
4. A timer is used to refresh the webpage every 10 seconds
What I wanted to happen was the program turn the associated picturebox in form1 green if page is loaded, and black is loading.
[Code]...
View 1 Replies
May 15, 2012
I have one tool which we developed on visual studio 2010. there are basically two parts of my project, one is UI part which i wrote in VB and algorithm part which is in C++ on back end. When we compile C++ part it creates a .dll which is used by my front end VB program.
Now my problem is little weird since i am compiling and deploying this tool on windows xp machine but some of the users are using windows 7 64 bit machines and after running the program for about 5-10 minutes, it crashes on windows 7 with following error
Not enough storage is available to process this command and when i view details of that error, i get the following description.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.
************** Loaded Assemblies **************
mscorlib
[Code].....
i am completely clue less for this error since this program works fine on xp but doesn't work on windows 7.
View 12 Replies
Jul 26, 2011
I have an editor created invb.net that creates html files. And when i click the button run , the Internet Explorer opens my file that is inside the Richtextbox.
View 3 Replies
Aug 11, 2011
I am using VB.Net 2010 and calling a stored procedure with a dataset to get values in a table plus "created" values.
The values for the "created" values do not come across from the stored procedure. They all show as zero in the IDE and False for the variables. I know I am getting the record because the first five values come across from the stored procedure into the variables correctly.
When I step through a VB6 program using ADO the values are pulled across from the stored procedure.
The problem seems to be in the interface between a dataset and "created" fields in a stored procedure.[code]...
View 3 Replies
Jun 10, 2009
I have VB project and I tried to use PUBLISH feature.It seems to create nicely some kind of setup program, but the setup program does not ask where to copy files (it does not seem to copy filesto target machine "PROGRAM FILES".)Is this setup program somehow different from usual installers?
NOTE: I want that app files are installed to Hard disk( from USB stick source)Is the signing recommended or necessary? My App is pretty simple, its just using access DB + printer api, should I still sign?
View 2 Replies
Apr 14, 2012
I am creating an Excel Add-In using Visual Studio 2010. My intention was to add a context menu to a cell and perform some action on the selected cell or cells. Here is the code I have got as of now
[Code]...
View 2 Replies
Nov 30, 2009
I have created an MSI. Before I install it, I look at "C:Program FilesMyApp" and it does not exist. I execute the MSI and look at "C:Program FilesMyAppData Base" and it contains my database with no data in it. I have checked it everyway possible. I open the app and stop it before the Fill dataset and check the connection string, it points to "C:Program FilesMyAppDataBase". I fill the dataset and it contains data from my previous install of the app. The database at "C:Program FilesMyAppDataBase" is empty. I use Windows explorer and check the database it is empty. I check the adapter and the connection string is "C:Program FilesMyAppDataBase". This is an Access database 2007 and the app is VS2008 in VB. It looks as though the installer is setting up a parallel environment somewhere.
View 8 Replies
Jun 12, 2008
I have created a program that associated with a ".mrs" files.now it's all working but I can't get the parameters for it..
For Each i In My.Application.CommandLineArgs
Msgbox(My.Application.CommandLineArgs(i))
' This line is just for loading the file in my program.
If ((My.Application.CommandLineArgs(0) <> "") And (My.Application.CommandLineArgs(0).EndsWith(".mrs"))) Then
Call openfile(My.Application.CommandLineArgs(0))
End If
[Code]...
View 18 Replies
Sep 29, 2009
I am still a beginner programmer so keep in mind that what I'm trying to do is beyond my knowledge but I have no one to teach me Visual Basic except from what little I can learn off of the internet. Currently, I am using Visual Basic 2008 Express Edition so my problem may be appear different if I show you any of my code.
I've created a program that contains a label and the words in the label form a question. Below that is a textbox with some text that has to be memorize for a play. Just think of the question as the previous speakers part. So far I've set it so that the words in the textbox are randomly removed and are replaced with a blank. I face with the program is that the user can't enter the answer because the blank is in the way.
Instead of putting a blank where the missing word is I would like to have some textboxes put there that way the user can enter the missing word and so that I can later insert some code that will let the user check to see if the answer they entered is correct.now the missing word is still replaced by the blank so I need to get rid of that and insert the textbox wherever the words are missing.
View 3 Replies