|
hello guys
i am a begginner in c# i need a help on hoew to call a text from a textbox
and make it as a input to yhe another textbox , kindly help
|
|
|
|
|
textbox2.text=textbox.text;
coolsweety
|
|
|
|
|
Hi Friends,
This is Dayakar,
I created one project and setup that project
I loaded the setpup in some other system
Now i want to create a shortcut for that project after setup is compled in some othersystem
how can i achieve this
|
|
|
|
|
|
what are the main diffrences between oledb object and odbc object
in ado.net.........?
rahul
|
|
|
|
|
Hi
This is Dayakar
I have one problem
i created one project and set the setup and i loaded in the remote system
In the remote system it is working fine but in that project i have one .aspx page
so that the remote user is changing the data in the .aspx
how can i make the .aspx pages are readonly
i.e it does not allow the remote users to change the data in the .aspx page
|
|
|
|
|
You need to set the file permissions up on the remote server so that only ASP.NET can access your aspx files. I get a bit confused myself about this, but I believe you can tell IIS which account to run under, and further to that in your web.config you can tell ASP.NET what account to impersonate when doing its stuff. Or something like that.
Post a question in the ASP.NET forum.
Regards,
Rob Philpott.
|
|
|
|
|
I would like to allow users to drag a field on the form. Is there someone who can point me in the right direction.
|
|
|
|
|
|
you told me that this problem is due to my add-in which i developed in C#.Net.But sir i am not facing any sort of problem inside my add-in code because it compiles in a well way but when i install it then i don`t see any sort of component add-in on visio 2003 interface as i told you that earlier it was running and i could see the add-in on visio 2003 interface but after a few minutes when i uninstalled the add-in and again i installed then it was not running.
Now you please tell me that what is the erason of this problem whether this is because of .net 2005 or visio 2003 or myy com add-in code.
Thanks.
Salman
|
|
|
|
|
i am working on an application in which i want to get user login information from client pc and save this information on server in a hashtable and then broadcast this hashtable data to all clients in a LAN and this data should be store in a listviewbox so that next time i can select a user informtion from the listviewbox.
Please if some body have any solution.
|
|
|
|
|
Hi Friends,
I am developed a new personal web site. I want to host it in my LAN. I installed IIS 5.0. How can I host it in my lan.
Please help me
Thanks in advance
Jijo
JIJO BABY - Lets Play C#
|
|
|
|
|
Maybe by asking in the ASP.NET or the OS / SysAdmin forums?
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
Jijo,
After IIS 5 is installed, you can right click the folder which you want to be accessible from IIS, select 'WebSharing' and click 'Share this folder'. Give a name for the virtual directory name.
Now your application is accessible from http://<yourservername>/<virtualdirectoryname>
If your Windows is a server flavor like Windows 2000 Server or Advanced Server or Windows Server 2003, you would be getting a 'New Website wizard' in inetmgr.
But to make a new DNS Name etc, you may need your system administrator or helpdesk assistance.
Vasudevan Deepak Kumar
Personal Web: http://www.lavanyadeepak.tk/
I Blog At:
http://www.dotnetjunkies.com/weblog/deepak/ http://deepakvasudevan.blogspot.com/ http://deepak.blogdrive.com/
|
|
|
|
|
i use .net framework1.1, i would like to double-click notifyIcon to show a webbrowser,but the webbrowser always shows in the left and top of the screen,
i want your help, the code is follow :
namespace WindowsApplication8
{
///
/// Form1 的摘要说明。
///
public class Form1 : System.Windows.Forms.Form
{
private AxSHDocVw.AxWebBrowser axWebBrowser1;
private System.Windows.Forms.NotifyIcon notifyIcon1;
private System.Windows.Forms.ContextMenu contextMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.ComponentModel.IContainer components;
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
this.axWebBrowser1 = new AxSHDocVw.AxWebBrowser();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.contextMenu1 = new System.Windows.Forms.ContextMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).BeginInit();
this.SuspendLayout();
//
// axWebBrowser1
//
this.axWebBrowser1.Dock = System.Windows.Forms.DockStyle.Fill;
this.axWebBrowser1.Enabled = true;
this.axWebBrowser1.Location = new System.Drawing.Point(0, 0);
this.axWebBrowser1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWebBrowser1.OcxState")));
this.axWebBrowser1.Size = new System.Drawing.Size(292, 266);
this.axWebBrowser1.TabIndex = 0;
//
// notifyIcon1
//
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "notifyIcon1";
this.notifyIcon1.Visible = true;
this.notifyIcon1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDown);
this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
//
// contextMenu1
//
this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem1});
//
// menuItem1
//
this.menuItem1.Index = 0;
this.menuItem1.Text = "Exit";
this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click);
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.Add(this.axWebBrowser1);
this.Name = "Form1";
this.Text = "Form1";
this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).EndInit();
this.ResumeLayout(false);
}
#endregion
static void Main()
{
Application.Run(new Form1());
}
private void notifyIcon1_DoubleClick(object sender, System.EventArgs e)
{
this.Show();
object flags = (2 | 4 | 8);
object targetFrame = null;
object postData = null;
object headers = null;
this.axWebBrowser1.Navigate("http://www.google.com",ref flags,ref targetFrame,ref postData,ref headers);
if (this.WindowState==FormWindowState.Minimized)
this.WindowState=FormWindowState.Normal;
this.Activate();
this.notifyIcon1.Visible=false;
}
private void Form1_Load(object sender, System.EventArgs e)
{
this.notifyIcon1.Visible=true;
object flags = (2 | 4 | 8);
object targetFrame = null;
object postData = null;
object headers = null;
this.axWebBrowser1.Navigate("http://www.google.com",ref flags,ref targetFrame,ref postData,ref headers);
}
private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
e.Cancel=true;
this.Hide();
this.ShowInTaskbar=false;
this.notifyIcon1.Visible=true;
}
private void menuItem1_Click(object sender, System.EventArgs e)
{
this.notifyIcon1.Visible=false;
Application.Exit();
}
private void notifyIcon1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Control control = new Control(null,Control.MousePosition.X,Control.MousePosition.Y,1,1);
if (e.Button==MouseButtons.Right)
{
control.Visible = true;
control.CreateControl();
Point pos = new Point(1,1);
this.contextMenu1.Show(control,pos);
}
}
}
}
Thanks
|
|
|
|
|
Perhaps you should mention what it is that you need help with?
---
b { font-weight: normal; }
|
|
|
|
|
i write the question in my message:i want to double-click notifyicon to open a webbrowser in it's right position.but it always show in left and top of screen
if you don't know my question clearly, please run the code i gived,i could forward your help
thanks
|
|
|
|
|
What in your opinion is the "right" position for the browser, then?
---
b { font-weight: normal; }
|
|
|
|
|
please run the code,then you will see the problem
|
|
|
|
|
No, I will not run the code to see the problem, unless you explain why you can't just tell me.
---
b { font-weight: normal; }
|
|
|
|
|
Sorry,i am a newer of codeproject,i don't know what do you mean :
Guffa wrote: unless you explain why you can't just tell me
i want a notifyicon to active the webbrowser,you can try it.
for example:
your form's location is(300,200),
and have a webbrowser fill the form ,
when you minisize the form to the notifyicon,
and then double-click the notifyicon,
you'will see the webbrowser's location is(0,0),always (0,0)
Thanks
|
|
|
|
|
Which takes us back to the question I asked before:
"What in your opinion is the "right" position for the browser, then?"
---
b { font-weight: normal; }
|
|
|
|
|
Perhaps my English is not very well,i mean i want control the webbrowser's position,but i can't.
ex:if i want webbrowser's location in(200,200),but it always in (0,0)
|
|
|
|
|
In your double-click event handler for notifyIcon1 just set this.Location to wherever you want it positioned onscreen.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
i have try this already,it can't solve my problem
would you run my code and solve my problem already?
wait you reply
|
|
|
|