strImage after remove has a value of 100_1880.JPG (pls. see code below)
however, when I tried to see if it equals to "100_1880.JPG"
they are not equal. Is my code correct ?
Anybody has exp...
Greetings all
I am in the process of creating a Data Access Layer for my Windows app (C#). I right-clicked the solution explorer and selected to add a Class. When I looked at the structure...
Nice title, right? Anyway, I'm doing this little app that creates directories. I'm pretty happy with its operation thus far. I have been specifying the initial path in which to create direc...
I have a single-form .NET Windows application written in C# (.NET 3.5) that is opened by another application. I need this .NET application form to be modal, that is, that the application canno...
I got a httpresponse object with
the header containt below data
base {System.Collections.Specialized.NameValueCollection} = {Content-Disposition: attachment; filename=1234.EXE
Cneonction...
I'm somewhat of a beginner when it comes to programming, and I would consider myself more on top of writing code in VB.NET than in C#.NET.
So I am very used to using the objects in VB: Syst...
In the attached code snippets I am trying to pass a process name or handle via the argument list and have the code find the passed argument in the list of running processes. The first code sni...
How do I enforce every one has two
outputStr += "\t" + Math.Round(totalSvcMinutes, 2).ToString();
regardless of whether totalSvcMinutes = 12.65 or 14.00;
thanks,
newbieweb
Hi everyone,
does anyone have any code that connects and disconnects mapped drives?
Occasionally users lose their mapped drives and i wanted to write a quick C# app to reconnect them..
...
MDI form or not to MDI form ?
I cannot get a splash form screen to auto-close -- i.e. you have to manually close before moving onto the next window opening...would like to automate the sp...
Hi experts,
I could not apply the font size from codebehind.
I tried 2 things,
lblQuestion_1.Text = "<a style=font-size=24px;font-family=Tahoma href='./Default.aspx?mid=" + s...
Hello Experts,
Is there a way for the user to change a label on a Windows form while running the program?
In other words, I have a windows form with several labels that designate fileds ...
I'm still learning ASP.NET and I may have the language a little off so correct me if it sounds off.
In short:
I have a project and I'm trying to basically create a link from one form to an...
I am trying to extract a cell from a row in a table and store it in a variable. I thought I had defined everything properly but obviously I am missing something. Can someone point out the ob...
private void Form1_Load(object sender, EventArgs e)
{
DBWebService.DatabaseWS s = new DBWebService.DatabaseWS();
ds = s.Get_Price_List_Header();
...
I have the following:
private void Mode1_SaveUpdatePriceListHeader()
{
// Do an update on PriceListHeader
MessageBox.Show("Updating to database");
// PK PRICE_LIST_HDR_ID
dr["PRICE_LIS...
Hi
Trying to count how many records are in a dataset, but keep getting the same total which is 1, which i assume is the number of tables not rows.
Hello Experts,
I believe this is a straight forward question, but I'm not sure how to accomplish the issue. I have a windows application that creates an .XLS document and saves the file to...
Hi!
I need to write to a log file ( log.txt ) that is hosted on a website. ( http://www.abc.com/log/log.txt )
I tried to use streamwriter etc but it all gave me an error saying URI format ...
Hello Experts
Trying to print a document on default printer on out webserver.
This is done from a webservice.
When running it from vs2005 this works fine, but when deploying it to the webse...
I am getting this error message when times out...
this is when I leave the page for a couple of minutes etc. I have extended the login timeout to 60 minutes via asp config file ... but al...
hi,
i Have a application that has a windows authentication. before the user login to the home page, they need to provide the username and password in the window popup. in my page load even...
Exactly what it said in the question.
"Your download will start momentarily"
I allow the visitor to download a file and I want to start the download in a few moments. In other words I...
Hello,
We are developing windows forms based application.
We have datagridview and text box in toolstrip to perform searches in this datagrid there is also status bar and main menu strip.
...
I use a dataset for my Sqlserver table tbl_example. The primary key field ID is of type uniqueidentifier.
I drag my dataset into a form getting the nesesary code to select, insert, update and...