I have recently moved from XP Pro VS2008 to Win7 Ultimate VS2010 and all the sudden I am unable to debug code and I can't write log files (ex: c:\mylog.txt) anymore. What am I missing here? I am using the same code that used to work.
My biggest issue is my inablility to debug. I was writting a...
Hello,
I need some ideas on how to accomplish this task that I have taken on. I need a way to run a vb.net application on a local pc from an internal webpage and then return the results of that locally ran application to the very same webpage it was launched from. If that is unclear maybe this...
Hello All,
I have a DataGridView on a form that I would like to change size when I resize the form. Hope this is something simple - just a property of this control I am missing? :o
Using Visual Studio 2005
Thanks in advance
I am new to making console applications so please forgive me if this is an easy one. I have a need for an application that runs off a bootable USB flash drive. All the application has to do is present some menu options and then start another application based on those options. I was able to...
I am looking for a way to do something in .Net 2003 that I was able to do in vbscript. I need to be able to list AD groups and users. This was fairly simple in vbscript but I am having difficulty doing this in .Net.
In vbscript for groups:
colgroups = GetObject(WinNT://mydomain,domain")...
I have a windows project with two forms in it. On form1 one I have a linkbutton to be able to open form2. When form2 is opened I want to hide form1 and then show form2. On form2 there are some text boxes asking for information and a submit button. When the submit button is clicked I do some...
How do I execute a batch file in ASP.NET 2.0? When I debug this code in the compiler (VWD 2005) all is well.
system.diagnostics.process.start("\\server\share\file.bat") When I move the page up to my webserver nothing happens. Its like that line of code does not exist. What gives?
Thanks in...
Hello all
I have a webform with three GridViews on it. The first GridView populates a summary of information at the Form_Load event. I have set this gridview to be selectable. When an item is selected off this gridview I need it to pass two different values - one to each of the subsequent...
I am struggling to figure out how to create an event handler for RowUpdating. I am using Visual Web Developer Express 2005 .NET 2.0.
I can't use the wizard because my GridView displays a custom query that joins several database tables. From what I am finding online I need to build a sub routine...
How do I set the button that is controlled by the enter key? I have a text box and once that text box is populated I would like to have the ability to press the enter key instead of clicking a button. I have tried a couple of things:
ClientScript.RegisterHiddenField("_EVENTTARGET", "Button1")...
Hello all
I am trying to make a web app that has a sign in page and then upon successful login, redirects you to the next page. I have two questions about this. How do I handle opening the new page and how do I pass parameters to that new page?
Thanks in advance
Hello All
I am just now trying my hand at ASP.net and I have hit a bit of a roadblock. I would like to know if there is a way to obtain information about the client that is accessing my asp.net webpage. For instance, is it possible to determine the OS that the remote client is running? Also...
Hello Everybody
I am trying to find a way to get the ip address of the machine that my application is running on. I was attempting to do the following:
Dim moOS As ManagementObjectSearcher
Dim moIP As ManagementObject
Dim ip As String
moOS = New ManagementObjectSearcher("SELECT * FROM...
Hello,
I am trying to set up a File Browser Dialog so that a user can select a text file for reading. When the dialog opens I want the user to be able to select the folder and the file and then for that path to be shown in a text box. What I don't get is how to browse to a file. I can browse...
This seems very simple. I must be overlooking something easy. I am trying to remove a character from a string and I am failing miserably.
Dim status AsString = "status in ('status1','status2','status3',)"
Dim L AsInteger
L = status.Length
L = L - 2
If status.Substring(L) = ",)" Then'this...
Hello everybody,
I am trying to bind the reults of my query to a label on my form. I am doing this many times over into many different labels on the same form. I am building something like a summary report. This is what I am doing.
Dim myconn As SqlConnection = New SqlConnection(cnxn)
Dim...
I have a try catch block that looks like the following
Try
Do While i < num
'loop through directories on a server and report the size of each
i=i+1
Loop
Catch ex As System.IO.DirectoryNotFoundException
'directory not found error
'*****need code to resume loop****
End Try
What I don't...
Grrrrrr
File or assembly name Microsoft.Office.Interop.Excel or one of its dependancies was not found
I am trying to use an app I made on a separate machine than it was developed on. The app exports the contents of a data grid to an excel spreadsheet. On the pc the app was developed on I can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.