Using Shell And Getting Feedback?
Oct 18, 2011
I want to be able to run any command by typing into a textbox.For example if I wanted to get info from "ipconfig".I want to be able to type "ipconfig" into the textbox and for it to then display the infomation into a richtextbox.I have been searching the internet but so far can not find a solution
Code:
Shell("ipconfig", AppWinStyle.Hide)
How do I now display the infomation from the console into a richtextbox?
View 3 Replies
ADVERTISEMENT
Aug 1, 2009
I'm going to attempt to make a shell replacement for the Windows default shell: explorer.exe. I'm not sure if its possible using Vb.Net, but I can't seem why not. My end goal is to use a custom made shell for a Windows Preinstallation Environment instead of the default command prompt. I plan to use a 3rd party program to compile the program with the .NET Framework. Otherwise, it wouldn't work because Windows PE does not support the .NET Framework.
View 1 Replies
Jun 3, 2011
I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!
Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.
Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click
[CODE].....................
View 2 Replies
Jun 28, 2009
The background: I'm in the planning phase of an Application. The Application will work with a set of data which will be illustrated on a diagram. I plan to have a class for dealing with the graphical issues (e.g. creating the diagram plot, zooming, drawing lines on the plot, selecting a data point by clicking, etc.) These will be handled by MouseDown, MouseMove and MouseUp events.
[Code]...
View 5 Replies
Dec 23, 2011
This is probably a really simple thing. Basically, the user clicks a button and a potentially long running task happens. I'd like to do a few things like toggle the button's enabled state, show a spinner, etc. In VB.NET Winforms I'd just do Application.DoEvents() and the updates would happen and the code can continue. How can I do this in ASP.NET? (preferable serverside or minimal javascript)
View 2 Replies
Oct 14, 2011
Does anyone know of any documentations on how to create a feedback form in vb? by feedback form i mean a box which the users can type what they thought and click send which sends the text in the box to a pre-determined email address.Iv been looking around for a few hours and all iv found is contact forms which are limited to gmail email accounts?
View 3 Replies
Mar 20, 2009
I have the following code which is meant to send an email from the website. I want the your name, phone number, your email and inquiry to be in the body content of the page as an html formate.
[code]...
View 4 Replies
Jul 1, 2010
I've created an application (a simple calendar app w/vb.net) for my own use and would like to share it with you guys. I don't want money for it, just for the fun of sharing, and maybe get some feedback on it, not regarding the code, but the usability and concept.
However, this might not be the right place, as this forum is more about getting help on specific questions regarding code.
I've looked at codeproject.com, but it seems it's about presenting particular topics concerning code.
Does anyone know of a good place/forum to share and get feedback on finished applications?
View 3 Replies
Jan 27, 2011
My software will simulate a few hundred hardware devices, each of which will send several thousand reports to a database server.Trying it without threading did not give very good results, so now it's time to thread.Since I am load testing the d/b server, some of those transactions will succeed and a few may fail. The GUI of the main program needs to reflect this. How should the threads communicate their results back to the main program? Update global variables? Send a message? Or something lese?
Now, if I update only at the end of each thread then the GUI is going to look rather boring (and I can't tell if the program hung). It might be nice to update the GUI periodically. But that might cause contention, with threads waiting for other threads to update (for instance, if I am writing to global variables, I need a mutex, which will block each thread which is waiting to write).
I'm new to threading. How is this normally done? Perhaps the main program could poll the threads, instead of the threads iforming the main program?
View 1 Replies
Jan 2, 2010
With regard to QUIZ questions; Easy - beginner, Medium - intermediate, Hard or Very Hard; I guess we would all like to see an equal balance of such questions, yes? However, my question for beginners and those who consider themselves capable of answering harder questions is, would users like more puzzle-based questions where you have to solve something using either mathematics or / and manipulation of text characters and so on?
This could possibly lead to simple number based games or those games using letters or even both numbers and letters. I am not thinking of programs that would take any longer to run than say 30 minutes maximum or would that be too long? I just thought I would start this discussion as it may help all forum users, especially beginners to improve His / Her own coding skills.
[Code]....
View 1 Replies
Feb 2, 2009
I learn vb6 years ago but very limited. My goal is to get good with serial communications. I have bought the 2nd edition book of "Serial Port Complete".I wrote this code to send and receive data. Very crude yet I know. I'd like to display the number of bytes being sent in a label or textbox so the user can see the progress. Not sure why it doesn't work as I step through the For/Next statement. I send one text position at a time and have set the write buffer to one byte to help but no avail! [code]
View 6 Replies
May 20, 2011
2 ListViews
Listview1
ListView2
Both have Drop enabled
List 1 has a bunch of invoice #,s in column 1. Column 2 is the amount List 2 has a bunch of clients.Drag invoice from list1 to a client in list2.how do I know what client I dragged to in List2? I would want the rowtag probably.
View 6 Replies
Feb 15, 2011
I am writing a program that is using a access DB for the info to be displayed. However when i started making the program i started by just databinding the listboxes.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'AcskillsDataSet.Skills' table. You
[Code]....
but now that im looking at the data this is prolly only useful for simple data. Im wanting to seperate the data from queries into multiple boxes. Am i better off just manually having a connection to the database and running queries into arrays to sort the data?? The above method looks like im going to be trying to fight the databound stuff. There are two tables and the way the built in query builder is im starting to think its easier to write my own queries in variables or whatever.
View 4 Replies
Feb 12, 2011
I have a module which performs a database intensive process (moves records from the current database to another database) Sometimes it can take a few minutes to run.What is the best practice for providing my user with feedback on the process and the ability to try and cancel the operation?Currently I have recently converted the module to Class which raises events as it progresses. I load a form, declare the class, then call a routine in the class to run the process, receiving feedback in the top level form?
View 3 Replies
Oct 9, 2010
Macosxnerd101 - Site Feedback | Dream.In.Code?
View 7 Replies
Mar 29, 2011
I have tried the search button to no avail. I am attempting to make a feedback form to open on Windows Live Mail. The user clicks the "feedback" item on a menu strip and it opens Windows Live Mail with Process.start("code here blah blah.exe"). What I want to do from this is force open a new message.
[Code]...
View 2 Replies
Mar 5, 2011
Working on a DragDrop application. I have a class object (built as an object) which has a GroupBox that is enabled for DragDrop.
In the class I have set it up so that the cursor will change when it enters the groupbox, leaves the groupbox, mouse is down within the groupbox and drag/drop is working. I also set up a label in the class object and changed the text in that label as well. Basically, the text changes in the label as expected including 'FEEDBACK' appearing when I am dragging the object BUT the cursor stays stubbornly as a pointer. This is tghe state of affairs either when I debug the class or when, after I build the class, it is run as part of the main program.
Here are the subs set up in the class.
Private Sub GroupBoxSourceMouseDown(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GroupBoxSource.MouseDown
GroupBoxSource.DoDragDrop(GroupBoxSource.Text, DragDropEffects.Copy)
[Code].....
View 2 Replies
May 25, 2010
drag and drop - Change Cursor as Feedback in DragDrop
View 8 Replies
Jan 17, 2010
I am working in VB. I have a fairly long and detailed explanation that I'll avoid posting but what I'm looking to find is quite simple. I'm looking for information how the command line executable LAME.EXE (the Mp3 encoder) returns information to the host program/form.
I am a VB novice and a novice to programming in general and am looking to learn more about as much as I can on the whole but basically I have a Windows form that gathers all the necessary information as a front-end:
The input .wav file path
The output .mp3 file destination
The encode settings (bitrate, frequency, etc)This information is pooled in to a string like this: lame.exe -v -b 112 input.wav output.mp3 or any variant on the settings selected in the GUI which is then in turn used to execute LAME.EXE with the set of parameters in a command line console...That's all well and good and it is quite functional but what I'm looking to do is to 'hide' the console in itself and have the encoder feed back its progress, say as a percentage inside the GUI.
The problem is that it doesn't appear that LAME in itself has this kind of functionality explicitly built in. I know it's possible however, as every single front end in the world has this functionality.I have tried a few ways of doing this with avoiding the issue of not being able to find the functionality within the codec. Perhaps I'm looking in the wrong place entirely or I'm not thinking correctly 'outside the box' as it were.
what I'm looking for is to use a command like this within the script itself: lame(v,b,112,"C:input.wav","c:output.mp3") or even pass the parameters obtained from the GUI a string formatted dynamically on the fly itself.I expect of course that this kind of functionality won't be available anywhere at all, what I'm really looking for as a workaround that reports the actions/progress/console output of the executable back in to the VB program somehow.
View 1 Replies
Apr 7, 2008
how to safely load a datagridview via a backgroundworker while showing progressbar feedback ? My data is coming from an access mdb.
View 4 Replies
Feb 28, 2011
m using Microsoft Visual Studio Basic 2010 and im fairly new to it. Im trying to make a small program for feedback and send it to my e-mail. I have seen e-mail sender tutorials on youtube but thats not really what I am looking for. Im looking for it to be automatically sent to me, not having to type in "To" so as if its hidden I guess. So Basically
View 2 Replies
Feb 22, 2012
I have a Contact page in my resort website asp.net 3.5. I want to write code in VB.net to send my feedback to mail id.I have Name, Email Address, Contact Num and Message in the form. When the user enters all fields and the message, the message should be sent on admins mail id with all details. Is that possible? How can I do that in Visual Studio 2008 using VB.net?
View 1 Replies
May 13, 2008
Over the past few months weve been running a pilot in these forums allowing you to submit bugs and suggestions to us directly. Weve learned a lot during this pilot and were enthusiastic about, and committed to, expanding our ability to take your feedback, and respond to it thoughtfully. By now you've hopefully seen our announcement about our plans to migrate these forums to our brand new forums platform. As a part of this migration were going to be closing down the bug and suggestion pilot program. Were going to take some time to analyze how well the pilot went, see what we need to tune up, and make sure that we build the right features into the new platform.
[Code]...
View 2 Replies
Mar 20, 2009
I need another (dozen) pair of eyes on this. The following code:
Interface iRuleEntity
Function GetRuleViolations() As List(Of RuleViolation)
End Interface
Partial Public Class Feedback
[code]....
is giving me this error:'Feedback' must implement 'Function GetRuleViolations() As System.Collections.Generic.List(Of RuleViolation)' for interface 'iRuleEntity'.
View 2 Replies
May 21, 2012
Is this where i would post a picture of my interface and get feedback on changes for easier use? If not is there someplace on this forum or any other forum to do this?
View 1 Replies
Apr 17, 2011
i have this
Quote:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Process.Start("mybatchfile.bat")
End Sub
its working if they are on the same folder,i want to do is make the batch file as a resource file so that i can run it even not in the batchs folder?
View 9 Replies
Jul 26, 2010
I can create a shortcut using this code:
Dim sFolder As String, sTarget As String, sAppName As String
Dim oShell As New WshShell
Dim oShortcut As WshShortcut
[Code]....
View 5 Replies
Apr 17, 2009
I am using Shell Dll to unzip zip file in vb.net 2005. Following is the code for this.
Dim sc As Shell32.Shell = New Shell32.Shell
Dim srcf As Shell32.Folder = sc.NameSpace(src)
Dim desf As Shell32.Folder = sc.NameSpace(des)
[code].....
View 2 Replies
Jun 26, 2012
I want to send messages withing a windows 7 LAN using VB.NET code. The problem is that the msg.exe executes commands in admin mode only. Here is the code. Shell("cmd.exe /k runas /user:farook-pcadministrator msg.exe") 'Here i'm prompted for a password. Shell("cmd.exe /k msg.exe", 1) I use the /k switch to see what's going on in the shell. /c is the silent switch. I do not wish to use runas neither do I wish to change privilages in msg.exe
View 2 Replies
Nov 14, 2009
I have an update app, which can be updated itself by another update app (so, the second app is an updater of the main updater). Both apps must have administrator permissions because of writing in the Program Files folder. Is it possible that when the main updater is running (under administrator rights) it can use Shell() to let the second updater run with administrator rights without a UAC confirm dialog popping up again?
View 3 Replies