DOS Command - Requirement To Run ?
Sep 25, 2009I have a requirement to run the following commands on the command prompt using VB.Net
CODE:
How to code on this...
I have a requirement to run the following commands on the command prompt using VB.Net
CODE:
How to code on this...
I am writing a C# Windows application program and I'm using an add-on for creating chart in it,but when I run this program on another windows which has .net framework but not that package it does not work and give me exception.I want to know how can I correct this problem even with setup file?and if the answer is setup file then how should I do that?
View 1 RepliesIf I am developing a windows forms application in Visual Studio 2008, does the end user that installs the application need dotnet 2.0, 3.0, 3.5? Only winforms, no web (except it calls web services).
View 4 Repliesdocuments that are required for a project. Such as:e.g: What sort of document I have create at the requirement analysis phase...etc I need to know all the documents that are required from start to end of the software project.
What's the part that MSF (Microsoft Solutions framework) plays?If we need to use MSF, what sort of documents that are required from it?
I have coded an asset management application which can submit asset information,retrieve and update it.The application can also send emails with excel file as attachment to employee's id by reading the name of the employee from the source excel file.I am using gmail as smtp host. Now I need to prepare a report on it which requires me to mention the requirement specifications which include
[Code]...
I have a simple web browser im seting up for a kiosk its pretty generic.It runs in full screen and on top of all other windows it has a combobox set to readonly, the combobox is fed by an array from a .txt file.This all works fine and the user has no way of directly accessing websites that arent supplied to the combobox from the txt file
....Until they click an advert.how to have the web browser check the address its being given against the array before allowing access to it?
whats the requirement of hardware for sql server
View 1 Repliesi get a lots of errors with my application because users doesn't have the .Net Framework installed so i was thinking, can't i take every .net framework resource that my application uses and needs, and add it as a reference in my application so that the user does not need to install .Net Framework?
View 6 RepliesI want to display a message box to inform a user of a requirement. In this case, the requirement is to insert a USB flash drive. This is easy enough:
MessageBox.Show(blah, blah, blah)
This message box will only have an OK button. What I need to happen is this:The OK button should not be available (enabled) until after the flash drive has had a chance to initialize. We will say this takes 2-4 seconds. So how to I keep the OK button disabled during this time and then enable after the time has passed?
I am planning to write an application which will be available in 2 versions. one free and the other one paid. The only difference is that in free versions only a maximum of 2 DB entries are allowed. but its unlimited in paid version
View 3 RepliesI am planning to write an application which will be available in 2 versions. one free and the other one paid.The only difference is that in free versions only a maximum of 2 DB entries are allowed. but its unlimited in paid version.DB does not have more than 1 table with 5/6 fields.I am planning to use xml for free version and SQLite for paid version. Is this ok? are there any other options?
View 1 RepliesI'm wondering if there is any scheduler control in Vb.Net -MS VS 2005- and if not I hope I can find a one - free - that I could use on my application...
how to implement scheduling tasks requirement in my application..
I have an interface (called IPersistentBusinessObject) with a required function that looks like this:
Function GetFields(ByVal fromDatabase As clsODBCDatabase) As enumSuccessFailure
In a class, I try to satify the requirement with the following:
Public Function GetFields(ByVal fromDatabase As clsDatabase) As enumSuccessFailure Implements IPersistentBusinessObject.GetFields
In this example, clsDatabase inherits from clsODBCDatabase. So I'd expect this to work since clsDatabase does everything clsODBCDatabase does and more. However, it does not work. The compiler complains that I haven't properly satisifed the interface requirements for GetFields. Can anyone tell me why this does not work?In slightly different but related example, I have an interface that requires a function called 'AddItem' as in:
Sub AddItem(ByVal objObject As IPersistentBusinessObject)
In my 'building' class, I attempt to satisfy this requirement using:
Public Sub AddItem(ByVal building As clsBuilding) Implements IPersistentBusinessCollection.AddItem
In this example, clsBuilding implements the interface IPersistentBusinessObject. So I'd expect this to work since clsBuilding satisfies the interface contract. However, it does not work. The compiler complains that I haven't properly satisifed the interface requirements for AddItem. why this does not work?
am developing a simple crm application for my business using VS2005 and its default mssql server. The configuration of my server machine is:
Motherboard: INTEL DQ35MPE
Processor: P4 2.4 QuadCore Q6600
RAM : STRONTIUM RAM 2 GB PC667 DDR2 DIMM
[code].....
i have a class where are code the methode that i have to use in my form. i want to display on a button with a if statement a text value depending of the requirement are met. i put the code of the class here:
[Code]...
I try to disable a tabpages in .net but it doesn't work properly , if try to do this Me.TabControl1.TabPages(1).Enabled = False it let me enter to de tabpages .
Bhagabat Dayal Dash Software Developer Qlogix Solutions(India)
I am using this expression to validate e-mail addresses:
"^[_a-z0-9-]+(.[a-z0-9-]+)@[a-z0-9-]+(.[a-z0-9-]+)*(.[a-z]{2,4})$"
I noticed that in order for the e-mail address to validate, I need to put in at least 3 characters before the @ symbol. Is this a requirement? What if I just want to have an e-mail address with 1 or 2 characters before the @ symbol?
First let me say that I am not sure whether or not this should go in this section or the API section, and if it needs to be moved I apologize. My issue is fairly straight forward, but for some reason I cannot get it to work.
I am trying to send a command to a command line and then submit the command. I have been trying without success to get this to work in v2008 Express and v2010 Express, Here is the code I am trying to us:
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( _
ByVal lpClassName As String, _
ByVal lpWindowName As String _
[Code].....
add serial number requirement to Setup & deployment > setup wizard for VB.net application
View 16 Replieswhen i get system date and add some day or month or year then i want next date as per requirement.
View 1 RepliesI am currently using psexec.exe from PsTools to send a command to a remote system to fire a command through a command prompt however I am finding that the shell I am doing does not seem to like the spaces in the path.
[Code]...
Any ideas on how I handle the following error thrown in the SqlDataAdapter.Fill as a result of the BeginTrans in the callee?
System.InvalidOperationException = {"ExecuteReader requires the command to have a transaction when the connection assigned to the command is in a pending local transaction.The Transaction property of the command has not been initialized."}
[code].....
Public Sub ExecuteTransaction(ByVal connectionString As String) Using connection As New OleDbConnection(connectionString)
Dim command
As New OleDbCommand()
Dim transaction
As OleDbTransaction
[Code]...
I am using the following code to run defrag and to analyze if the C: drive requires defragmentation:
Dim analyze As Process = System.Diagnostics.Process.Start("C:WindowsSystem32defrag.exe", "C: /a /h /u /v")
This process runs through analyzing, runs it in normal mode & prints the progress to the command window.
My problem is that as soon as the process is complete the command window closes. I need it to stay open so that I can read the results.
I am trying to send a command to the external command line (cmd.exe) from the Windows form application that I'm writing in VB.NET (using VS2008).
I can only access the external program thru the command line (its not my program) and I must do so from a form app.
I am trying to use the following code. I am able to call a cmd.exe window, but I can't pass the command line my command.
Using mp As New Process
With mp.StartInfo
.FileName = "cmd.exe"
[Code].....
I want to add a new select command to my dataset. To do that, I have added a new partial class to my project. Because we have to use partial class if we want to extend generated dataset codes. [code]...
View 3 RepliesI am using a CheckedListBox that is populated with Filenames (full path, i.e. C:TestTest.jpg)When I have the files that I want in the CheckedListBox I wish to click a Start Button which will process the list one at a time using an exe program that runs on the Command Line. There are arguments that need to pass to the command line as well as the file location in order for the program to process.I currently have it working but the issue is the loop finishes quickly and it is left up to the CMD.exe to finish the process. What I would like is for the LOOP to wait until each file completes processing before passing the command for the next file in the CheckedListBox.There some reasons I wish for it to work this way.
1) I would like to have a button that can Pause/Restart the Loop.
2) I would like to have a button that can Stop the Loop so the whole process can end.
3) I would like to have the Loop remove each file one by one from the CheckedListBox after it has been processed.
4) I would like to display a Message once all the files have been processed.
5) And if it were possible I would like to report the status either by text or a progress bar showing where it is at in the process.
6) And the ability to add some error handling if possible.
Since the Loop finishes so quickly as it just passes the command to the command line using the & as a seperator it is the command line that is handling the rest of the process. Because of this there is not control over it in the GUI.The code I am using allows the Command Line text to display in the Form so it won't open up a seperate window to run CMD.exe. This is the desired affect as I would like everything to appear to run from within the Form itself.
[Code]...
User need to select their prefferable data to show in report. What i did is i have a clear command first to delete the temporary table. The temporary table is basically a table to stored user selection parameter data. After the clear command, i have
a insert command to insert user selection data into the temporary table. What happened now is when i run the program exe, first run of the report is work fined, but not the second and the following times of execution. It will return null or blank report. The weird thing is when i execute it from development environment, it seem like the report is able to pick up user selection parameter and run the report for the first times and the subsequent execution.
i have seen this in many codes, just not sure where to start and how to call the command. what i'm talking about is having code as such (this is for save file dialog):
[Code]...
In the Windows Shell, there is a command that looks like this: copy /b fileA.zip + fileB.jpg fileC.jpg..Is there any equivalent function in VB.NET? I already know this works: [code] But I would much rather have a built-in function to work with. Here is what I am trying to do: url...Also, this doesn't just work for pictures. It works for any binary file. Is there any way in VB.NET to tell if a file is binary or text?
View 3 Replies