Hi,
How do I check if a file exists, and if it does how do I delete the file?
Thank you very much! :)
I am trying to read a text file into a text box, but I can't figure out how to convert a stream to a string.
private void ReadFileIntoTextBox()
{
System.IO.Str...
I am trying to create a short-cut on a pc that runs an application on a different server. I have managed to enable Full Trusted status for the main application CM.exe, however I am now receivi...
I posted this question and received a clue here: http://www.experts-exchange.com/Microsoft/Development/.NET/Q_23064765.html
I need to retrieve the credentials of a logged-in user from our L...
I have a datagridview. I want to validate the row before letting the user do anything else (pressing a button off the grid). I figured out how to do this. I would like to prevent them from ...
I've been reading all sort of questions about writing to the app.config file and yet have not found a good answer that will show me how to accomplish that. I am usinf framework 3.5 and visual ...
C# Web Apllication Connection String Error = System.Configuration.ConfigurationSettings.AppSettings is a 'property' but is used like a 'method'
The offending line is :
objConn = new Sys...
I have a DataColumn expression that yields a result with 10 decimal places, I need to round this to 2 decimal places. I've tried wrapping my expression with the Convert(expression, type) funct...
I have a gridview
<asp:GridView ID="grdSearchResults" runat="server"
AutoGenerateColumns="False" DataKeyNames="PropertyID"
on...
I cannot get the horizontal gridlines to show up on my gridview. I am creating a printable report so I want black gridlines on a white background. I have tried setting Gridlines="Both" and the...
Hi Experts,
I'm developing a custom control called MyDateTimeControl. When I register the control to an aspx file in VS2005 like this:
<%@ Register TagPrefix="UC" TagName="MyDateTime...
<asp:HyperLinkField DataTextField="CategoryName" DataNavigateUrlFields="CategoryID" DataNavigateUrlFormatString="NewPage.aspx?id={0}"
HeaderText="HyperLink Column" />
How can I amend the ...
I installed Quickbooks 2008, but it doesn't open, it just hangs. I traced it down to a problem with .NET 2.0 When I try to uninstall it, however, it tells me the installation source isn't av...
I have created a custom windows software in vb.net, VS 2005. I am reading data from a Pennsylvania scale (model 7300) via my development computer's RS232 port. I am using the SerialPort obje...
I am working right now on writing a method to delete nodes out of a tree. I have written a method to find the node to be deleted. My issue is that i need to somehow point those child pointer...
I have an Iframe that when selecting a hyperlink to another website the site page open within the iframe.
How do you select the hyperlink and open a new window??
Thanks
Hi,
I am using LINQ to SQL and are dragging and dropping my tables and stored procedures to the LINQ designer file .dbml. This works great and I can query against this object relational mod...
Hi
Having some problem sometimes when I close my app. The program is still active if I look att the running processes.but I can't se any open form
I'm using
Private Sub frmMain_FormC...
Hi,
How do i write test cases for an vb.net application ...an example will be of great help..
Because of the constraints with the size VARCHAR and the number of elements allowed in a WHERE IN clause, I need to create a temp_table that I insert ids into and then within my stored procedu...
I am trying to convert a asp.net application into a windows forms application. One combobox fills when you start typing. so if you press a, it will find the first 15 items that start with a....
Dear experts,
I have created and uploaded a report (rdl) to our reporting server http://www.xxxx.com/Reports2005.
Now I want to retreive the report from the asp.net page. Can someone pro...
I'm using Visual Studio 2005 to implement ABCUpload progress bar. And I encounter problem when puting the following code with error "The Controls collection cannot be modified because the cont...
I'm using this to export a gridview to excel, the problem being that once i hit over 10000 records or so, it doesn't change and just displays the gridview. is there a different way to do this?...
I'm not really sure how to categorize this questions. Our environment is a Windows XP box set up as a server. Out of nowhere it's not working today. I tried to access the main site and rece...