|
Well man, I don't have much experience but the same thing happened to me, just like your explanation, In my case, adding a resource with the same name. To fix it.. open the file resource.resx and unregister repeated.
I hope this fix your problem and the future programers's problems
|
|
|
|
|
I've had occasions where it's been quicker to just
a) delete the Resources.resx file (in Solution Explorer under your project Properties) and
b) re-add the file (open up the project properties, click on resources and look for the blue-link offering to add the Resources files)
HTH
Matt
|
|
|
|
|
Respected Friends
I am Facing a Problem in Crystal Reports11.
I am using Border lines on total amount in report.
when i call this report in Visual Studio2005.
and when i view the report in Studio then it shows some border lines bold some unbold.
my product is at the stage to deliver our client so plz kindly solve this issue.
thanks and regards
Muhammad Ramzan Chaudhary
Software Developer Engineer
ramzan_danish@yahoo.com
modified on Tuesday, June 2, 2009 3:36 AM
|
|
|
|
|
I suggest you read the link in my sig, it has the answer to your questions.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Sorry I dont underStand what you said.
|
|
|
|
|
Interestingly, I am also not sure what exactly you are asking.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|
seeramzanse wrote: Dear Listen first of all i want to clear that i am new in software development so i need much help
now listen
If you're new to software, why are you delivering products to clients, without having someone who knows what they are doing, internal to your project, who you can ask about this ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Its my task to remove this bug.
And i have to report this to my project manager.
i am not alone our whole team is working on this project.
I am a part of this team.
and this product is nearly to deliver.
|
|
|
|
|
seeramzanse wrote: Its my task to remove this bug.
And i have to report this to my project manager.
i am not alone our whole team is working on this project.
I am a part of this team.
and this product is nearly to deliver.
So what?!
There are a set of rules[^] that you need to follow to ask a query here. If you can't keep it in accordance to that, you won't get any help. You may start by avoiding the word "URGENTZ". Nobody really cares if it is urgent.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
seeramzanse wrote: now listen
Be polite. Demanding tones in the imperative are more likely to irritate those that can help you rather than get what you wan.
Man who stand on hill with mouth open wait long time for roast duck to drop in
|
|
|
|
|
|
Hi,
I have an mdi applicaiton..
1) I opened two child windows inside mdi parent by creating new instance.
2) I have scrolled the 1st child window vertically and clicked on 2nd child window.
3) if i again click on 1st child window the verticle scrollbar is coming to start position.
Can anyone suggest me how to keep the scroll at the same position when the child window gets activated...
thanks in advance..
|
|
|
|
|
Hello experts,
I got above error,I am trying to do reading data from sql and write it into csv file format.However when it read data row by row from sql then gives above error.
My code is:
<pre> while (dr.Read())
{
strRow = "";
for (int i = 0; i < dr.FieldCount; i++)
{
strRow += (string)dr.GetString(i); // Gives error here
if (i < dr.FieldCount - 1)
{
strRow += this.separator;
}
}
sw.WriteLine(strRow);
}
|
|
|
|
|
I also had experienced this, so i change the Get[Type]() methods such as GetString(index), GetInt16(index) etc with GetValue(i) or DataReader indexer it self, but it must be checked first if return value is DBNull.
In your case replace your code in line that gives error with
KIDYA wrote: strRow += (string)dr.GetString(i); // Gives error here
if (!Convert.IsDBNull(dr[i]){
strRow +=dr[i].ToString();
}
or
if (!Convert.IsDBNull(dr.GetValue(i)){
strRow +=dr.GetValue(i).ToString();
}
hope it helps
dhaim
ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro"
in the front line gave a lead, in the middle line build goodwill, in the behind give power support
|
|
|
|
|
hi Mbah Dhaim
It works,Thanx.
|
|
|
|
|
The error means what it says. Can you read ? You can use ToString() if you want to convert the type to a string.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Hi,
I'm developing a C# application to process binary (b&w) images. I need to save them as PDF files.
I've found a few libraries (see example below) that would let me do so by saving the images as JPEG first and then converting them to PDF. Doing so however produces relatively large PDF files.
Example: http://www.codeproject.com/script/Forums/Edit.aspx?fid=1649&floc=/Forums/1649/Csharp.aspx
Any ideas on how I can directly convert System.Drawing.Image objects to B&W PDF files?
Thanks,
Sarab
|
|
|
|
|
Member 4678351 wrote: Any ideas on how I can directly convert System.Drawing.Image objects to B&W PDF files?
With a library like the one you have. What do you think the image will be saved as, if not a JPEG ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
I'm writing an installer for a program that will be used on Vista. When I install the program for "all users", the data files for the program are stored in the virtual folder for each user, such as, "C:\Users\UserName\AppData\Local\VirtualStore\Program Files\MLW\MLW Program". When I uninstall my program, the data files in the virtual folders for each user are not automatically deleted. I need to add code into my program's Uninstall() method; however, I don't know how to do that for each user that isn't the current user.
Any help is appreciated.
Thank you,
choo_chu
|
|
|
|
|
What is the code for restarting a console application?
[X] 100% HTML
[ ] 100% PHP
[ ] 100% C#
|
|
|
|
|
To restart a console application? What do you mean by "restart" it?
Please be more precise..
|
|
|
|
|
How to store a large number of XML to the MSSQL200 database in a field
hello everyone
|
|
|
|
|
With SQL, I guess.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
I am developing program of C#,the windows are inherit from another library,such like the propty of the EnableBackgroundImage of buttons,it works well,but now I want to developing the multilanguage of the window,when I change the language of the window,some auto sources will be add to the designer.cs files,suck like "button.EnableBackgroundImage = null; " Is it the bug of the microsoft?is it because the project can not inherit propty of the EnableBackgroundImage well,and consider the EnableBackgroundImage is set nothing?
when I change the language a part of designer.cs change to this ,its right
this.ocButton1.FKeyAllocation = Solno.OceanLibrary.Gui.FKeyAllocation.F1Key;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.FunctionID = "006MEF010";
this.Name = "PaMef01000";
this.OcFormHelpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
this.SingleDisplay = true;
this.UseSecurity = true;
this.Load += new System.EventHandler(this.PaMef01000_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PaMef01000_FormClosed);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PaMef01000_FormClosing);
this.mainZone.ResumeLayout(false);
this.formZone.ResumeLayout(false);
this.baseZone.ResumeLayout(false);
this.buttonZone.ResumeLayout(false);
this.buttonZoneShift.ResumeLayout(false);
this.buttonZoneNormal.ResumeLayout(false);
this.ocPanel1.ResumeLayout(false);
this.ocPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.OcDataGridViewCassette)).EndInit();
this.ResumeLayout(false);
but when I change the text of button ,and save the windows ,designer.cs became this
this.ocButton1.AccessibleDescription = null;
this.ocButton1.AccessibleName = null;
resources.ApplyResources(this.ocButton1, "ocButton1");
this.ocButton1.BackgroundImage = null;
this.ocButton1.DisabledBackgroundImage = null;
this.ocButton1.EnabledBackgroundImage = null;
this.ocButton1.FKeyAllocation = Solno.OceanLibrary.Gui.FKeyAllocation.F1Key;
this.ocButton1.Font = null;
this.OcFormHelpProvider.SetHelpKeyword(this.ocButton1, null);
this.OcFormHelpProvider.SetHelpNavigator(this.ocButton1, ((System.Windows.Forms.HelpNavigator)(resources.GetObject("ocButton1.HelpNavigator"))));
this.OcFormHelpProvider.SetHelpString(this.ocButton1, null);
this.OcFormHelpProvider.SetShowHelp(this.ocButton1, ((bool)(resources.GetObject("ocButton1.ShowHelp"))));
this.OcFormToolTip.SetToolTip(this.ocButton1, resources.GetString("ocButton1.ToolTip"));
this.AccessibleDescription = null;
this.AccessibleName = null;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = null;
this.Font = null;
this.FunctionID = "006MEF010";
this.OcFormHelpProvider.SetHelpKeyword(this, null);
this.OcFormHelpProvider.SetHelpNavigator(this, ((System.Windows.Forms.HelpNavigator)(resources.GetObject("$this.HelpNavigator"))));
this.OcFormHelpProvider.SetHelpString(this, null);
this.Icon = null;
this.Name = "PaMef01000";
this.OcFormHelpProvider.SetShowHelp(this, ((bool)(resources.GetObject("$this.ShowHelp"))));
this.SingleDisplay = true;
this.OcFormToolTip.SetToolTip(this, resources.GetString("$this.ToolTip"));
this.UseSecurity = true;
this.Load += new System.EventHandler(this.PaMef01000_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PaMef01000_FormClosed);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PaMef01000_FormClosing);
this.mainZone.ResumeLayout(false);
this.formZone.ResumeLayout(false);
this.baseZone.ResumeLayout(false);
this.buttonZone.ResumeLayout(false);
this.buttonZoneShift.ResumeLayout(false);
this.buttonZoneNormal.ResumeLayout(false);
this.ocPanel1.ResumeLayout(false);
this.ocPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.OcDataGridViewCassette)).EndInit();
this.ResumeLayout(false);
modified on Monday, June 1, 2009 9:45 PM
|
|
|
|