|
You may use Process and ProcessInfo class to achieve the desired scenario:
Dim process1 As New Process
Dim processInfo As New ProcessStartInfo
processInfo.UseShellExecute = False
processInfo.RedirectStandardOutput = True
processInfo.Arguments = "10.64.1.40"
processInfo.WorkingDirectory = "C:\windows\system32"
processInfo.FileName = "tracert"
process1.StartInfo = processInfo
process1.Start()
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi everybody,
My app was displaying each and every one of the 16 reports (crystal) I have. Suddenly, reports no longer appear on screen (reportviewer). The code has not been modified at all in months. All sub-routines seem to work and my try..catch structures do not detect any errors
I really do not know where to start. Can anybody offer some help?
Thank you very much.
Best Regards.
Alex.
|
|
|
|
|
Do your procs return data
Presumably you are running a database - check Profiler to make sure the proc is being called correctly
Make sure the proc returns the correct data (error may be date related).
Shoot Crystal Reports - sorry but it is really a crappy program.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi RAH,
I have verified the stored procedures and they do work fine; in fact I tried pointing my app to CR2008 libraries instead of the ones bundeled with .net, and all reports work.
I aggree with your assertion about CR.
any more ideas? it is imperative that I understand what caused this in the first place, so that I can solve and prevent it from happenig again.
Thanks.
Alex.
|
|
|
|
|
How can I play a movie with Media Player in my code?
|
|
|
|
|
Try this:
Enter the following in google search, you will get a lot of links:
media player vb.net
Shay Noy
|
|
|
|
|
Hai all,
i Need to display one phone number,if both land line and mobile no.s are same
as 9821212121 for both landline,cell,
then i need to display only one no. in datagrid..
Thanks in advance
Thanks
Subbu.
|
|
|
|
|
Your question is quite vague, from the top of my head, select distinct from where ever you are reading from.
|
|
|
|
|
Good Afternoon All
I decided to post this as a Different post, because i might be confusing people by tryying to tackle two problem in one thread. Am using VS2003, if i create a new Project i can debug and the Green button to Debug is enabled, but i have an Existing Solution with Multiple Projects in it and the Green button is Disabled. What is wrong in my Solution Settings, because the only option is "Start without Debbuging"
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Check your configuration manager settings; it sounds like it is set to 'Release' instead of 'Debug'.
Tim
|
|
|
|
|
Good Afternoon Tim
Thanks for your reply, i cant bealive i did not see this
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
hi all
i want to know how to write import /export code in vb6.0 to import/export data from access using select criteria.
plz help urgent
|
|
|
|
|
Do you mean to import data from access datatabase using Select statement?
If yes be more specific.
Select Statement:
http://www.w3schools.com/sql/sql_select.asp[^]
Which programming language do you use?
Which data object do you use?
Shay Noy
|
|
|
|
|
Hai all,
i have one problem while searching.if i enter letters from the starting of the textbox then i am able to search.
....if i leave the starting of the textbox blank,and then enter letters then i can't able to search.
Thanks in advance
Thanks
Subbu.
|
|
|
|
|
A space is a recognised character (Chr 32) so your application is searching for a string that starts with a SPACE. To counter the problem you need remove the leading and or trailing white space by using the String.Trim() method. It removes all the spaces that are not between other Characters. So " this and that " will be changed to "this and that"
|
|
|
|
|
Hi,
Please i need to chahge the backGround color of a pecific cell in a DataGrid on a cilick event note that i am using VB.Net 2003 windows.
Mohammad Al Hoss
|
|
|
|
|
Try this
Me.DataGridView1.Rows(i).Cells(y).Style.BackColor = Color.AliceBlue
Hope it will help u
The Great Pleasure In Doing That Things That Other People Say U Can't By Doing This U Can Shut Their Mouth
|
|
|
|
|
Sory but this code does not work for Vb.Net 2003
Mohammad Al Hoss
|
|
|
|
|
No, you can't change a cell's style that easily in VB.NET 2003. You have to derive a class from DataGridTextBoxColumn, override the paint-method and do the drawing yourself.
Try this article:
Changing the background color of cells in a DataGrid[^] (yes, I know it's in C#)
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Hi there,
I have a requirement to add a custom signing object to a Microsft Word Document using .Net. The object should always manifest itself as a picture, i.e. wen u open or print the document, u see a picture in this case a signature. If an add-in that I have to develop is installed on the same machine, right clicking on the object should also show my custom menus in the popup menu.
So my challenges are, how to create the custom object in .net (how can i extend the Image/Bitmap Class and add my own methods properties and evends) and how do I add this custom object and menu to Word?
I appreciate any pointers in any direction that myt be helpful.
Regards
|
|
|
|
|
Good Morning All
i have a vb.NET application that is working fine. but Sometimes the Application just Disappear from the Screen, without any Error or Message.
what is Wrong
am using .NET 1.1
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Your app is broken. I assume some top level code is trapping an exception as it dies, or some code is triggering that closes it. Hard to say, based on the info you provided.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
In your .Net IDE, goto the Exceptions Screen (somewhere under Debug and Exceptions... I think in 2003) and select the option to break on all Thrown and Unhandled errors, the application will break into the IDE everytime an error happens. That will actually help you to see the actual error that is happening and where it happens. I used to encounter that problem a lot in VB6 though not in .Net.
Hope you get it right.
|
|
|
|
|
I cant say actualy. My Application have many Forms sometimes it happens on this Form sometimes it doesnt. i have messed arround with my Project settings i Supposed i cant event debug, the Green Button in Visual Studio is always disabled , the only option i have is to "Start without Debuging" How can i enable theGreen Button again, then like that i will be able to debug and see the Error.
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi,
I am developing a project using Vb6.0 and MS-SQL server.
I am opening word and excel file through my software with the help of Web browser control.
I want to disable the Cut, copy, paste, Insert, delete menu options as well as Ctrl+C, Ctrl+X, Ctrl+V key board events, during runtime.
Please help me to solve the above problem.
Thank You
Ranjan
Email- ranjan175@hotmail.com
|
|
|
|