|
Hi there,
I have to drag and drop [toolbar]toolstrip from my toolstrip container onto the form. How can this be made using coding in c# 2005.
|
|
|
|
|
Hi,
How or is it possible to declare a class inheritet from System.ComponentModel.Component as abstract and still be able to use the VS.designer??
/besinci
|
|
|
|
|
Abstract classes can't be instantiated. How do you think you would put an instance of your class in the designer?
Short answer: No.
Regards
|
|
|
|
|
The problem is..
-When inherited from the base class that is defined as abstract; The designer wants to call the default contructor of the base class (there is no problem using the inherited class in the designer).. but it can't as you also mentioned..
-My question was about some how to awoid the designer to call the deafult contructor of the base class..
Regards, /Besinci
|
|
|
|
|
If I understood you right, you want to inherit a class from Component, make it abstract, then inherit more from this class. Right?
Component => Base abstract class => Inherited class
ans when you put the inherited component in the designer, you are getting an error because of the abstract class.
Well, instead of making your class as abstract, you can declare the constructor as protected. This way your base class won't be instantiated, yet any inherited class can call that constructor in the designer.
I hope I got you right this time.
Regards
|
|
|
|
|
Hi,
I am using TreeView control in form application of VS2005.
I want that whenever i add node to a parent node, it should check that if the node is already existing in the parent then it will be replaced otherwise be added.
So how we do search for child nodes for a particular node(parent).
RootNode
Node1
Child1
Child2
If i am adding child2 to Node1 then it should replace the existing.
thanks
Gajesh
Pune(India)
|
|
|
|
|
How can i have a Styled ScrollBar For TextBox
for example How can i set scrollbar color or width ??
With Thanks
MHF
-- modified at 3:57 Tuesday 26th December, 2006
|
|
|
|
|
Hi All
I am created crystal Report By using Command SQl ( by selecting ADD Command on the Database Expert-> Create new connection -> Add Command
I have two problem
1) If I Eable the Logon Promt (i.e EnableDatabaseLogonPrompt ="true" )
then following promt is display Before the Report View and Asked for the server passward if i enter passward then Report is Display otherwise not ( It's Happen 1 st time when aplication is run) the promt is given below in bold letter
The report you requested requires further information.
___________________________________________________________________
SERVER
Server name: Server
Database name: ERPDB
User name: sa
Password: --------
Use Integrated Security
2) If I disable the Logon promt (i.e EnableDatabaseLogonPrompt ="false")
then following Error Message is Display and Report Can not Display
Logon failed. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'sa'. SQL State: 42000 Native Error: Error in File C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\SalaryReport {4244492D-0548-4110-AF32-9A9E5066CD0E}.rpt: Unable to connect: incorrect log on parameters.
My Actual problem to Display the Report Without Asking Server Passward to User Because User Don't Know the Server Passward
Please any one Help me
Thanks for Your Time
Anil Jagdale
|
|
|
|
|
Hi All
I am created crystal Report By using Command SQl ( by selecting ADD Command on the Database Expert-> Create new connection -> Add Command
I have two problem
1) If I Eable the Logon Promt (i.e EnableDatabaseLogonPrompt ="false" )
then following promt is display Before the Report View and Asked for the server passward if i enter passward then Report is Display otherwise not ( It's Happen 1 st time when aplication is run) the promt is given below in bold letter
The report you requested requires further information.
___________________________________________________________________
SERVER
Server name: Server
Database name: ERPDB
User name: sa
Password: --------
Use Integrated Security
2) If I disable the Logon promt (i.e EnableDatabaseLogonPrompt ="true")
then following Error Message is Display and Report Can not Display
Logon failed. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'sa'. SQL State: 42000 Native Error: Error in File C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\SalaryReport {4244492D-0548-4110-AF32-9A9E5066CD0E}.rpt: Unable to connect: incorrect log on parameters.
My Actual problem to Display the Report Without Asking Server Passward to User Because User Don't Know the Server Passward
Please any one Help me
Thanks for Your Time
Anil Jagdale
|
|
|
|
|
Hi All
I am created crystal Report By using Command SQl ( by selecting ADD Command on the Database Expert-> Create new connection -> Add Command
I have two problem
1) If I Eable the Logon Promt (i.e EnableDatabaseLogonPrompt ="true" )
then following promt is display Before the Report View and Asked for the server passward if i enter passward then Report is Display otherwise not ( It's Happen 1 st time when aplication is run) the promt is given below in bold letter
The report you requested requires further information.
___________________________________________________________________
SERVER
Server name: Server
Database name: ERPDB
User name: sa
Password: --------
Use Integrated Security
2) If I disable the Logon promt (i.e EnableDatabaseLogonPrompt ="true")
then following Error Message is Display and Report Can not Display
Logon failed. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'sa'. SQL State: 42000 Native Error: Error in File C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\SalaryReport {4244492D-0548-4110-AF32-9A9E5066CD0E}.rpt: Unable to connect: incorrect log on parameters.
My Actual problem to Display the Report Without Asking Server Passward to User Because User Don't Know the Server Passward
Please any one Help me
Thanks for Your Time
Anil Jagdale
|
|
|
|
|
Hello everyone,
How can I make the folder containing my file to open programmatically ?
When a user selects a file from my program and click "got to folder" in contextmenu the explorer will open the folder (not my application)..
Thanx for your helps and best regards..
.:: Something is Wrong ::.
|
|
|
|
|
Hello!
You can use the class Process for this:
Process.Start("explorer /e,"+Path.GetDirectoryName(myFileName));
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Thank u very much.. It works for me but still have a problem ... When the folder opens I want to make my file selected. Is this possible ?
Best Regards..
.:: Something is Wrong ::.
|
|
|
|
|
explorer /select,c:\myfile.txt
/ravi
|
|
|
|
|
I have merged two datasets using "Dataset.Merge" command, which the data is retrived from two different dBase-III databases of same structure.
Can I create a new database of using dataset, if yes, how...?
Regards,
Kishore.
|
|
|
|
|
KishoreT wrote: an I create a new database of using dataset
Yes. You simply use ADO .Net classes to handle these operations. You'd need to make a ConnectionString to the Database provider -in your case dBaseIII- using OleDbConnection class, and use SQL commands -eg. CREATE TABLE-. You can call the commands using OleDbCommand class.
Regards
|
|
|
|
|
I need to migrate dBaseIII databases to Ms-Access tables.
dBaseIII database are to be imported to MS-Access and also need export MS-Access tables to dBase III databases.
All these operations should be done using C#.
can any one help me...
Regards,
Kishore.
|
|
|
|
|
KishoreT wrote: I need to migrate dBaseIII databases to Ms-Access tables.
dBaseIII database are to be imported to MS-Access and also need export MS-Access tables to dBase III databases.
All these operations should be done using C#.
With your C# program, load the data from the dBaseIII and then insert into Access...Pretty straight forward.
Some people have a memory and an attention span, you should try them out one day. - Jeremy Falcon
|
|
|
|
|
How to get recent file names like mspaint file menu
ravi
|
|
|
|
|
There is no such built-in functionality if that's what you're asking for. You have to keep track of the files yourself by storing their paths somewhere (application settings, custom XML file, ...) and built the recent files menu dynamically on this basis whenever it pops up.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"D:\Users\Ravi\CVS-WD\training\Ravi\DataBaseProjects\NotePadSimulation\Paint\RecentFiles");
Thanks For Information ..i want to know how i can apply RegistryKey Concept to my Problem Requirement..and in the above statement i have to specify my project destination url or what i have to specify as string ..please give me some solution for me..
ravi
|
|
|
|
|
Hi All
How to Refresh previous page when next page is close
i.e I am open next page(next.aspx) by cliking on Button of previous page
(prev.aspx) but I need to Reexcute (prev.aspx) Page_Load() function after closing the next.aspx How can do it , Anyone Help me
Thanks for Your Time
Anil Jagdale
jaganil_phoenix@yahoo.com
anil.jagdale@eway-software.com
|
|
|
|
|
Hi Friends,
I need some help on crystal Reports, Actully my application requirement is to generate the dynamic columns in the crystal reports . Columns will depends on the events on the windows form.(its in c#.net)
pls if u have any solution let me know
Thanks
Shivraj
shiva
|
|
|
|
|
i haven't worked on it but i have heared that columns can be dyanamically created in cross tab reports but i am not sure u may search it further
thanks
|
|
|
|
|
I have an XML file that contains lot of records.
For performance reasons, i wanted to read the file using filestream and streamreader. Also, it should read from the last. I need to retrive latest records.
How to move to previous line??
Thanks in advance
Praveen Raghuvanshi
Software Engineer,
|
|
|
|