VS.net 2003 And Deploy Finished Program And Try To Run It On AnI?
Jan 5, 2011
I am using VS.net 2003. When I deploy my program and try to run it the program works except that when I try to print a report I get a message that I need a license.
I am trying to update a textbox before the program has finished running. If you have a counter (z +=1) how to you get it to display each number to display before the program finishes running?
I have some difficulties concerning threading [code]
Code: 1- Dim str As String 2- Dim x As New myClass 3- str = x.doSomething() 4- x.closeSomething()
I've included line numbers so I can just refer the lines by their numbers. My problem is, when the program executes, line 4 seems to be executed earlier than I want it to. It gets executed while ThreadX is still running in line 3. How can I force the program to wait until ThreadX has finished executing, before it executes line 4?
I am trying to deploy my program from vb 2008 express edition into the CD using ClickOnce but it has no progress at all and will take a long time when you run the setup.exe to another computer and in the end it will just pops-up an error. I have followed the proper setup procedure on how to publish the program into the CD with ClickOnce and was able to successfully published it along with all necessary prerequisites and supporting files.But when you open the setup.exe from the CD using other computer,it won't deploy the program into that computer and will just display a window which gives you 3 buttons saying Details,Retry,Cancel saying such error after downloading the required files.Does it matter if my OS is Vista and the computer where I'm deploying the program is using XP?What could have been the possible cause for this problem?How could I possibly resolve this issue?
when i publish my applications in visual studio 2008. when it is installed i only see the entry in the programs list at the start menu and the application folder is thrown some where else(wonder where). So i was wondering is there a way to publish an application so that when it is installed, it gets installed in the program files folder on C:\
i wanted to know how to deploy a simple program that is coonected to a access database.I have tried it many times but when I try to install it says that some file is mising. How can I do it so that I dont have to copy the database from one computer to another.
I am writing a POS application using vb.net 2003 and need to print 3 or 4 lines of information (complete with formatting instructions) to an attached parallel printer. Here are the specifics:
1.Printer is a Practictical Automation CLTX2003 parallel thermal printer
2.Formatting instructions accomplished using Friendly Ghost Language (FGL)
3.No dialog boxes should open for user confirmation or input
4.Would prefer to print each line (with its formating instructions) directly to the printer
I have a program that we converted to vs 2010. When then moved it to the users computer and they only have Excel 2003 on their station. How can we tell the excel reference to use 2003 (version 11) instead of 2007 (version 12). The program now is looking for 2007 version 12.
Have upgraded a program with the wizard after a bit of pottering about I got it to run
So cpl of things... I changed the program republished it...then ran setup again...does seem to be updating the program for forms...ie small changes like text boxes
I've tried hiding one tabpage in the form and it was somehow successful. However, it was not the one i'm planning to do with my program. I don't know if there exists any code that could make the tabpages(two actually) automatically hide when the form loads and would only be visible after some passing some conditions.
I'm trying to create a COM User Defined Function automation add in for Excel 2003/2007/2010 and create a setup program that will install the add-in without the error message "Cannot find add-in 'mscoree.dll'. Delete from list?" occurring when the automation add-ins added to excel. This error occurs when running the setup program on PCs other than the development PC.
Using this example by Eric Carter combined with this Stack overflow answer. I have tried both methods of registering both the custom dll and mscoree.dll. Solutions for this problem are well described in both of those links however neither the registry edit of the setup program described in the stackoverflow link nor the code from the other link that should register mscoree.dll works for me when installing with a setup project on another PC (64 bit Windows 7 PC not used for building the program). (In fact the last comment on the Stack overflow link is a person with the exact same problem that I am describing here.) The add-in does work, I just want to prevent the error message.
error"login failed for user using vb.net2003 program application connect to sql 2000. i have sql2000 server and i created dbname test then i created log in sql name xtops gran permission access on dbname test, but if i created login in windows it works, but i don't want to create log in in windows coz the prog can access dbase even if hte user is not created into dbase.
Is it possible to pass data between a MODULE in Access and a VB2008 app?
To be more specific, suppose a VB app calls a MODULE in a access DB and the job of the module is to count the number of records that have "Joe" in a column. I know this can be done with a SELECT within the bindingsource BUT in some instances, it is much faster to pass the task to Access and return the result.
So - can an Access MODULE RETURN a value back to a VB app?
working on an application which performs a set of operations on Active Directory based on an op code.The application was developed long back and has been working fine. I recently made few changes, which is causing the Server to run out of memory whenever the program is being run. I also modified the code to make sure that the variables being declared in each function are set to "Nothing" at the end of function so that the memory can be collected by garbage collector. To make sure, I'm also forcing garbage collection to take place at different parts of the program. But, I still continue to have the issue. The program is very big and hence I could not upload it.
The code retrieves a list of rows from a table with opcodes in it and based on operation code, it performs a set of tasks. The problem is that when it loops through each row in the table, the size of memory required by the program keeps increasing (> 1 GB) to the point where the Server (Windows 2003) is crashing. I have tried different profiling tools, but none of them have been able to detect any memory leaks in the program. I'm guessing that the resources are being held up and hence causing this issue.
I can launch a program from inside my program and embedded it in my program using a Visual Basic Control such as a Panel. That works well if you launch say NotePad or Calculator.However, If I want to launch a program that uses MULTIPLE forms... all that gets embedded is the Main Form... All the other forms are floating on the desktop nonconstrained... So If I minimize my program the other forms are still shown.So what I am attempting to do is to get ALL the Forms from the external program embedded into their own objects on my form.Have pieced together a program from a couple of program samples that I have seen across the internet... Here's the code so far:[code]The Main form for the program that I am attempting to embed is 384 x 347 in size.Panel1 is a Panel Control on my Main Form."MyProgram.exe" is a program that I have written myself.I have looked at Spy++ for Visual Studio 2003 and it is able to identify ALL the forms from my program.My question is how do I embed ALL the forms from my external program in the NEW Program?
dotnetfx35setup.exe will not run in Windows 7. I'm trying to "deploy" a Visual Basic program and VB can't find the prerequisite files. Is there a newer version of this EXE that will run in Windows 7?
I have a program written in VB.net 2003 that are folks run under alternate credentials. Inside the app there is an option to open a UNC path to a network share. We were running Windows XP SP3 and IE6. The code is simple just a call to the explorer.exe with /root,\UNCPath. After installing IE 8 onto the machine this no longer works. Best I can tell the code is still working but now being executed in non interactive mode so nothing opens up. You can however see a new spawned explorer.exe running under the system account for each attempt at opening a UNC Path. Any ideas what IE8 could have done to cause this behavior?
I am working on moving applications from Windows 2000 to new server Windows 2003 R2(64 Bit). I noticed that there are some VB programs and config files for those programs have been placed in Windows 2000 Registry. Some other applications are using them from different servers.Why do we use registry here? How can i move these to registry in windows 2003? Can I just move these or do I have to write VB programs to place them in 2003 registry?
I have a .net Windows Service developed in VB.net. I have a settings file in the root directory called Connections.XML and I am setting the basedirectory [code]...
When I schedule the service this is working absolutely fine in my Windows XP machine. But when I installed the same service in our development server (Windows 2003 64 bit Server) for some reason it is not able to locate this file.
I have an application that allows the user to upload information from and Excel sheet. Since the user is more familiar with Excel, they prefer to do it this way. My software will close the workbook with Me.exApp.Workbooks.Close() , but if you have the task manager running, you can see the Excel application continues. I know the workbook is closed, b/c it asks if you would like to save changes. One instance of Excel will close when the program is exited, but the user normally builds a folder of Excel files and does them all at once. If 8 instances of Excel exist, only one will close with the program.
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Stop() instead of WebBrowser1.Stop() for navigating.
but I want to know when a web page has finished loading?
Normally the following works, but not with tabs
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted End Sub
I am having no trouble playing a swf file in VB but how can a play a second SWF file AFTER the first has finished? How do I know when the first file is done playing? Tried 'isplaying' method in a while loop but can't get it to work.
I have a piece of my code that uses a for each to loop a certain amount of times depending on how many saved fields there are in an xml.
vb.net '// Write an .html file ready for debugging If (File.Exists("Working/" & textBoxCampaignName.Text & ".html")) Then '// Do nothing the file exists
[Code]....
So the for each loops depending on how many nodes it finds in the ("/campaign/secondarySection") this works great, it loops accordingly, what i'm trying to figure out is a way for a messagebox to show once the loops are finished, i can't think of a way to find out once the loops are done.