|
|
Use the Menu [^] control.
/ravi
|
|
|
|
|
i m using VB6 exe(as process) in my c# project . How can i pass a string to VB6 Process.
help as a alias.
Be happy and make others happy.Cheer up...........
|
|
|
|
|
#1. What about SendMessage? I have done sending message from one UI to another but I'm not sure about process.. you may do some research on it..
#2. What about passing things via middle layers? For example, save the string in textfile or database. then access that string from VB6.
|
|
|
|
|
thanks i will try it it is an good idea
help as a alias.
Be happy and make others happy.Cheer up...........
|
|
|
|
|
Hi all.....
Am doing a Web application. I want to copy a file from server to localdisk in web application. how is it done? is CopyTo(); is ok?
what is the format of this?
when i tried this am getting following error....
Argument '1': cannot convert from 'string' to 'System.Array'
|
|
|
|
|
P_Elza wrote: I want to copy a file from server to localdisk in web application
You can't copy files from server to local machine. You can redirect page to the file which needs to be stored, browser will open a save dialog and user can save it.
|
|
|
|
|
hi,
i am doing a project in which i have added a folder named data and a mdb file
in it so at the time of running the folder data is getting copied to debug folder and the manipulation done on the database are getting reflected in the debugs database not in the oringinal one and at the time of retrieval the data is coming from the original one
The project is working fine after deployment
so please solve this problem......
regards
sindhu tiwari
-- modified at 2:34 Monday 5th November, 2007
Always Innovative
|
|
|
|
|
Hello experts...
I include some merge modules in my VS.NET setup project 2005. I want to know answers of the following ....
1. What is the default location of merge modules...?
2. Did any previous file is over write by the installer while installing this application...?
3. If we remove the application the merge modules are remove automatically or we have to remove them...?
4. If any other application using that merge modules that what will the case...?
-- modified at 1:38 Monday 5th November, 2007
Regards
Pankaj Joshi
|
|
|
|
|
There are a lot of modules in my project. When the user runs the project, ShellForm will be displayed. There is one menu in that ShellForm. If the user clicks on that menu, 10 modules will be loaded dynamically. (so, it took a lit bit time to load all modules and UI freezes while loading. )
How to show the prograssbar while the modules is loading on demand?? OR How to load the modules dynamically without freezing the UI?
I have tried to load the modules in Asynchronous Mode but I got cross-thread error..
Thanks in advance...
|
|
|
|
|
Navigate Focus with Arrow Keys on Container
How to navigate focus using Arrow Keys only (no Tab/Shift-Tab) on following layout and in the same order
Panel mainPanel containsthe following Controls as
Panel p1 with buttons p1b1, p1b2, p1b3
Buttons b1, b2, b3
Panel p2
Panel p3 with buttons p3b1, p3b2, p3b3
ListBox L1
A screenshot of the above is available at http://img130.imageshack.us/img130/4610/btnlayoutpk1.png[^]
I understand that I need to set the tabIndex of individual Controls but dont quite figure out in which order they need to be set. Do I need to change the TabIndex of Panels or Individual Controls or both.
Any Suggestions?
Thanks...
|
|
|
|
|
I have a problem, how to implement the localization for the crystal reports in C#, there is no resource file about it, and i can not find the download link which mention in the msdn,it make me spend much time on it , if anyone have some experience about this, please give me some advice, i will feel very happy.
thanks very much.
|
|
|
|
|
hi all
i have created an application using 1.1 in c#.
probelm is that on the 1024,768 resolution and on win/xp it runs properly , but
on the same resolution on win/2000 it does not show full form. why is that ?
any solution, is win/xp 1024,768 is different from win/2000 1024/768 :P
thanks in advance
hello
|
|
|
|
|
This is not clear.
How big is the form?
Are you maximizing the form?
How big is the difference XP/2K?
Is the task bar height the same?
is the system font (family & size) the same?
is the display resolution the same? (e.g.96 dpi, see Display Properties)
how about XPthemes? is it enabled in your app, does it exist on 2K?
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
ghumman63 wrote: any solution, is win/xp 1024,768 is different from win/2000 1024/768
I think "NO".. maybe. cuz of your graphics card driver or the monitor....
|
|
|
|
|
Hey,
How would I change the strings of a text box (richTextBox1) from a button on a different form?
-- modified at 17:25 Sunday 4th November, 2007
Also how would i make the main parent form stay top most when another form's check box with the Code below in it is checked?
if (checkBox1.Checked == true)<br />
{ this.TopMost = true; }<br />
else<br />
{ this.TopMost = false; }
Do i need to change this.TopMost to form1.TopMost?
|
|
|
|
|
Rather than modify a post to add a new question you should start a new thread for a new thread.
C# Beginner Nick wrote: How would I change the strings of a text box (richTextBox1) from a button on a different form?
See Passing Values between forms[^]
C# Beginner Nick wrote: Also how would i make the main parent form stay top most when another form's check box with the Code below in it is checked?
if (checkBox1.Checked == true)
{ this.TopMost = true; }
else
{ this.TopMost = false; }
Do i need to change this.TopMost to form1.TopMost?
Did you try it? What happened?
Also, you might want to consider giving your controls better names. "cehckBox1" is hardly descriptive.
|
|
|
|
|
I only change the names if i have multiple check box's, that is the only one so i didn't need to name it.
And thank you for the link.
|
|
|
|
|
C# Beginner Nick wrote: I only change the names if i have multiple check box's, that is the only one so i didn't need to name it.
That's not a valid excuse.
|
|
|
|
|
Maybe for you, but what works for me, goes for me.
It's not like i am making this program for someone else to view.
If i was, i would clarify it. But once again
What works for me, goes for me.
|
|
|
|
|
C# Beginner Nick wrote: Maybe for you, but what works for me, goes for me.
It's not like i am making this program for someone else to view.
If i was, i would clarify it. But once again
What works for me, goes for me.
Even when I write code that is just for me I try and maintain good standards. I never know when I might find it useful for something else and if it is of poor quality then it becomes useless. And you never know when it might be useful to show the code to a potential employer or incorporate in to some other application, however if it is a mess do you think you'll get the job or your team will appreciate the code. Also, maintaining two sets of standards makes life more difficult as you have to switch between them. It is better to have one set of standards and stick with that.
However, if it doesn't "work for you" then feel completely free to ignore my advice. But don't be surprise if at some point in the future it no longer "goes for you". If you remember the saying "An apple a day keeps the doctor away". What if one day you don't have an apple, but have a chocolate bar? Will the world come crashing down around you? No it won't. But what if, instead of an apple a day, you have a chocolate bar every day. Pretty soon you'll be wishing you had been eating apples.
Just saying... But feel free to ignore me - I've only been writing software for 24 years.
|
|
|
|
|
If the form with the checkbox is a child form. Then you should just be able to use:
this.Parent.TopMost = true;
My current favourite word is: Waffle
Cheese is still good though.
|
|
|
|
|
Alright ya that worked thanks
|
|
|
|
|
How do I make a textbox (textBox1) that acts like a password box, which means it has where you type and the text becomes "*"s, but still recognizes the text? Also, anything (articles...) that deals with changing and modifying any text would be appreciated. Thanks.
- "Achieving all knowledge does not mean achieving all wisdom."
- "Welcome to the end."
|
|
|
|
|
MasterSharp wrote: How do I make a textbox (textBox1) that acts like a password box
See the UseSystemPasswordChar [^] property.
MasterSharp wrote: changing and modifying any text
Set the control's Text property.
/ravi
|
|
|
|