XMLTest - Simple Windows Application In VS 2005 On An XP Box
Jan 10, 2012
We're starting to evaluate VS 2010, but right now I'm trying to do a simple Windows application in Visual Studio 2005 on an XP box.
Eventually, this will become a web service, but I want to test the XSLT file I am using in a simple application first.
Here is the XSLT file:
CODE:
The file is added to my project, XMLTest.
The code that generates and parses the file to change to a text file is as follows:
CODE:
A sample output XML file is as follows:
CODE:
When I run the VB code to input and transform the XML output I get a filenotfoundexception error that I can not figure out, because where it is expecting the XSLT file doesn't seem to make any sense.
If it were going to always be hosted on my machine, I'd use an absolute path, but it's not going to be, and I'm going to be switching to a Windows 7 x64 box after lunch anyway.
View 4 Replies
ADVERTISEMENT
Feb 19, 2011
I want to write a very simple application, containing a pop-up menu when user click on it, that will appear in windows task bar, exactly like language bar, this is the only need. it does not contain any more functionality at the time being. Does anybody know where to start or do you have any sample code for it.
View 5 Replies
Apr 13, 2011
I currently have a simple crystal reports application which generates a crystal report and in the built in viewer provided by VS2005. There is a drop down where you can select options to change the criteria of the report. I wish to convert this app to a windows executable which will take all those select options and generates pdfs based on the crystal report. the executable will be triggered by windows task scheduler...or maybe command line app?
Obviously this will be somewhat of a re-write. What would be the best way to start this as? a crystal report application or a windows application.
View 2 Replies
Jan 31, 2010
I have come across to develop an application for Windows 7.My program has one setting file and one LogFiles folder under the same folder as EXE. User will change some setting from Program and the values will update in this file. If there is an error, error detail will log in Logfiles/ todaydate.txt file.(Later I discovered/learnt that I should not edit/write the files to Program Files/sub folders.)So, now I'm trying to move these two files to another location. After searching a few on Net and I got the following result.[code]When I make Setup project for my application, I have to put the Setting file under one of these location.And what I found was, I only has a choice of "User's Application Data Folder" which is equivalent to My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData.If i put Setting.ini file under this folder in Setup project, it gave me an warning of "File 'Setting.ini' should not be installed into a User's Profile folder because it may not be available to all users."
View 4 Replies
May 19, 2009
I am using Vb 2005 to develope a windows service, i have completed a long flow,but at the end i am having a little problem.When i use process.start("abc.exe"), it didnt show me But when i have a little more analysis of the problem i noticed that its running in background by making windows service as its parten process, So it means process runs but as a service how i can show that application on desktop?
View 3 Replies
Jul 31, 2009
I developed a application using vb.net 2005 and sql server 2008 for windows but i want to run this application on one of the client which is linux. means : windows server 2003 on which database is install. Five client machine is Windows Xp on which application is running ok they have two machine on which linux is loaded. Now I want to run the same application on linux machine also Guide how to do this..
View 3 Replies
Jul 21, 2010
How to run windows application in mac system
View 4 Replies
Jul 13, 2009
I have created a Windows Application using VB dot Net. It has many Forms. The user shall be able to open many forms at a time. I want to provide a "Window" menu functionality to the existing application. Whenever any form is opened, the menu should add the open-form and when it is closed, it must be removed from the Window menu. The functionality should be similar to any Word file's Window functionality.
Active window must be tick marked.
View 13 Replies
May 17, 2006
I am just wondering if you people will be able to help me make my application autload on windows startup (Like Windows Live Messenger does), I have been researching on the internet and I cannot find anything for it.
View 5 Replies
May 19, 2010
I have just purchased a new computer with windows 7 on. I have put VS2005 on and for some reason Application.startup says its not a member?
View 1 Replies
Apr 19, 2009
how to Send Email Using SMTP in vb.net 2005? Actually on my program I have loaded already emails and names on my listview and what I want is that I want to send emails to those emails found on the listview but my problem is that I don't have any idea how to send email on vb.net 2005.
View 3 Replies
Jun 18, 2010
I am having trouble running a VB.NET 2.0 Serial Port application in Windows 7. I developed it in Windows XP, it ran fine in Windows 2000 and now when the company upgraded the machines to Windows 7, the application does not kick off. All platforms were/are 32-bit. I did some research online, but have not found anything relevant to resolve my issue. Does anyone know what the issue might be and the possible solution to it?
View 5 Replies
Oct 13, 2010
Is it possibel to use update panels and update progress controls in windows application or is that reserved for web apps only. I am looking at applying some progress controls (like a spinning wheeel etc) when loading a crystal report that take about 30+ seconds.
View 2 Replies
Jan 12, 2009
If I create a windows application. Where is the file for app.config? Can I modify it?
View 9 Replies
Mar 29, 2009
I have been developing windows and web application using Visual Basic 2005 for a long time. Now i want to change from Visual Basic 2005 to Visual Basic 2008. I would like to know what ever projects i have done in visual basic 2005 will works in Visual Basic 2008. Will the existing code in visual basic 2005 supports Visual Basic 2008 or do i need lot of modification. I haven't used VB 2008 but i hear that most of the code which written in visual basic 2005 supports visual basic 2008. What are the things i need to take care when working the existing projects in visual basic 2008.
View 3 Replies
Dec 15, 2010
what is the best way to identify memory leaks from a vb.net 3.5 windows application.
View 1 Replies
Apr 7, 2010
i want to put a menu item for my application to the right click menu of windows explorer.I do not want to do it programmatically but i want to do it with the .NET installer.Until now i have found that i have to insert into the registry the following keys:
HKEY_CLASSES_ROOT/*/shell/MyApplication/command
and i have to put there a new value of
"[TARGETDIR]MyApplication.exe" "-file=%1"
The problem is that i want to be able to select multiple files and then call my application with parameter all of these files.Now when i right click with many selected files my application is run for each file sepparately.I want to run my application only once and with an input parameter of all the files that are selected.Also until now i cannot add a value to the (Default) key. It only adds a new value to the registry...Also i want to be able to do the same thing with folders...
View 9 Replies
Sep 1, 2009
I have a form program that runs long, and for kicks I was wondering if I could out put some data to a "real console" -not the Console useing the Output debugger.
View 8 Replies
Apr 6, 2010
I'm trying to do a windows application. I have a combobox with this
Dim sql As String = "Select EMPLID from PS_EMPLOYEES Order by EMPLID"
Dim da As New Data.SqlClient.SqlDataAdapter(sql, "data source = DATASERVERR;initial catalog = HRSYS83;user id=sa; password=sa")
Dim ds As New DataSet
[CODE]...
This works fine, but i want to load a textbox with the name of the employee that i selected in the combobox.
View 18 Replies
Mar 12, 2009
how to load a .bak file of database backup in sql server 2005 using vb.net 2008 windows application?
View 5 Replies
Jul 30, 2009
I am making a server - multiple client windows form application using Visual Basic Express 2005.
I was wondering if there was a way that I could debug multiple instances of the client at the same time?Ashray Lavsi If my post answers your Question, don't forget to "Mark it as Answer"
View 6 Replies
Sep 2, 2010
I've implemented the localization in my windows application with no problem for the label or command button which have a fixed text.
My problem is related to the label which text is merged with some variables or object properties.
E.g.: vb label1.text = "There are " & myDataGridView.Rows.Count.ToString() & " items"
So, how can I set (if it's possible) the localization for these labels? I've this kind of assignment in modules and not in the form. It's possible to set a resources file also for modules?
View 6 Replies
Mar 30, 2009
I get a Type 'System.Data.SqlClient.SqlDataReader' has no constructors. error on the 5th line of code below and I get a Variable 'e' hides a variable in an enclosing block. on the last line of code below (in my catch statement).
Here is my code:
Imports System.Data.SqlClient
Public Class Form1
Dim myConnection As SqlConnection
[code]....
View 3 Replies
Jun 14, 2012
I am just starting to dive into the ADO.Net routines in VB.Net, have used ADO in VB6 forever just would like to make sure I am getting started on the right foot here.
'As I test I had hard coded the connection string here which I have removed from the post, I will switch it to a var that is read from a config file later.
CN.Open()
Dim Cmd As SqlCommand = CN.CreateCommand
Cmd.CommandText = "Select * from tblusers where userid=@UserID"
[code]....
btw I realize that I have not yet added a message for when the Userid is not found. I am more concerned with the method I am using to query the db and read the results as well as closing the objects afterwards.
View 5 Replies
May 6, 2009
New to Visual Studio 8 running on Vista with Office 2007.Attempting to create first simple form with data grid using Nwind.mdb Customers table. Data source is created and using Preview data actually shows the data contained in the table.After dragging the DataGridView onto the new Form1 no data appears in the grid when the form is run.
View 4 Replies
Nov 11, 2009
Im a user of VB 2005. I had a problem with Simply run a project (Even Without any code in it). Indeed when i Creat a new project and i want to run and debug it (with F5). The information box show that cant debug. and because of that, the program may not run.The Message in information box is here (in Appendix).I try it with VB 2008 (But didnt work). After i Reinstall all of VB and Install again, but my problem existed even now.
View 3 Replies
Aug 31, 2010
I need to display a simple box on a form that can be split by the user. It represents a gang up of a number of images on a printed sheet. These images are always in a # of rows x # of columns format (1x1 or 2x4 etc). There can be from 1 - 24 rows and 1 - 24 columns.
My thought was that I would give one text box each that the user could enter the number of rows and number of columns into. When these change then the box display would repaint to display a grid that represents the gang up specified in the text boxes. My issue is that I don't see a control that I could adapt for this use for the box.
View 2 Replies
May 9, 2011
I have a (very) simple WCF written in VB which I can build and publish locally to IIS. Works great.
What I need to do is (somehow) deploy it to a different server which does not have IIS. It's supposed to be run as a windows service.
how to do this. All directions on MSDN seem to be for VS 2010 (we're using 2008).
View 1 Replies
Dec 5, 2010
i want to desing a simple application which will be developed on a pc but will work on a MAC.Now im guessing that if i make an app in pc vb net it will not work on a mac right? So what if i design a web application. could the mac user then use it as it is web based?
View 4 Replies
Jun 11, 2011
I need to simple code in Vb.Net for Open / close USB Port (Windows 7) ...
View 7 Replies