|
Probably you cannot do this....there are 2 main security issues are there (i) Browser (ii) Active Directory
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
i have a table student columns like id and name. it refers another tables foreign key. when i change the data type of id from integer to Big Integer foreign key restrict and do not allow to change the data type . plz help me i want to change the data type in sql wihtout foreign key restriction.
|
|
|
|
|
Goto Database forum, this is the wrong forum.
|
|
|
|
|
You should better post it to the General Database section...
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
hiiiiiiiii,
i was doing a registration page where i need to validate the text box to carry more than 5 characters........
i used custom validation n declared a function in source as this
function validateLength ( src, arg )
{
arg.IsValid =( args.Value.length >= 8);
}
and made the clientvalidation function as "validationlength" ........
but its not working ..............
anybody have the answer plz help me in this code..........
|
|
|
|
|
Goto ASP.NET Forum, this is the wrong forum.
|
|
|
|
|
hi i want to show progress bar and want to show the progress bar value in text box...hw can i do that?
|
|
|
|
|
Simple - just include the code below in your app.
private void Form1_Load(object sender, EventArgs e)
{
WebBrowser wb = new WebBrowser();
wb.Dock = DockStyle.Fill;
Controls.Add(wb);
wb.Url = new Uri("http://www.google.co.uk/search?hl=en&safe=off&q=How+do+I+use+a+progress+bar+in+c%23%3F&btnG=Search&meta=");
WindowState = FormWindowState.Maximized;
}
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
LOL
|
|
|
|
|
Either:
1. Wherever you're setting the Value of the progress bar, also call ToString() on the value and set that as the text box's Text
2. Use your own class that derives from ProgressBar and create a ProgressChanged event. Then, subscribe to that and update your text box in the handler. Something like:
using System;
using System.Windows.Forms;
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
myProgressBar.ProgressChanged += myProgressBar_ProgressChanged;
}
void myProgressBar_ProgressChanged(object sender, EventArgs<int> e)
{
textBox.Text = string.Format("{0}%", e);
}
}
public class MyProgressBar : ProgressBar
{
public event EventHandler<EventArgs<int>> ProgressChanged;
public new int Value
{
get { return base.Value; }
set
{
if (value >= Minimum &&
value <= Maximum &&
value != base.Value)
{
base.Value = value;
OnProgressChanged(new EventArgs<int>(value));
}
}
}
protected virtual void OnProgressChanged(EventArgs<int> e)
{
EventHandler<EventArgs<int>> eh = ProgressChanged;
if (eh != null)
eh(this, e);
}
}
public class EventArgs<T> : EventArgs
{
public EventArgs(T value)
{
Value = value;
}
public T Value
{
get;
private set;
}
public override string ToString()
{
return Value.ToString();
}
}
|
|
|
|
|
hw can i use multithreading for doing that.
|
|
|
|
|
Use a BackgroundWorker or my ProgressWorker[^] that already combines a BackgroundWorker and ProgressBar .
|
|
|
|
|
Dear All,
I am trying to open reports which are in Ms Access.
I tried bellow code but it seems it opens full the database, what i want is to show only viewer inside my winform.
any ideas, suggestion or alternatives please?
MsAccess.Application app = new MsAccess.Application();
app.OpenCurrentDatabase(Utilities.DBFullPath, false, "password");
app.DoCmd.OpenReport("rptCommunity", MsAccess.AcView.acViewReport, Type.Missing, Type.Missing, MsAccess.AcWindowMode.acWindowNormal, Type.Missing);
app.Visible = true;
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Access will not open a report inside your own form. It does not have this option.
If you want to use your own form to display the report, you'll have to use some other reporting library and have it grab the data from the Access database.
|
|
|
|
|
You cant implement, Microsoft Access database does not support this.
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
how can i read an espcial address of bios or a location in ROM,
for example how can i read the content of adress 0x0ffff5. tnx
|
|
|
|
|
So far as I know, you must write it in C or C++ then compile it as DLL.
Then use "DllImport" to call the function in that C DLL from C#.
|
|
|
|
|
thank u, but may u tell me how can i do that in c or c++?
|
|
|
|
|
faraz34 wrote: how can i read an espcial address of bios or a location in ROM
Well it took me less than a minute to find this[^]. Try using the tools that are available to you.
|
|
|
|
|
would u please introduce some of those tools?
|
|
|
|
|
faraz34 wrote: would u please introduce some of those tools?
Did you follow the link I posted in my previous message? Have you looked at MSDN, Google, other coding websites?
Quite frankly, if you need to ask the above question, then I think trying to write a program to do what you want may well be too advanced for you.
|
|
|
|
|
Hello everybody,I use the datagrid control in almost all my applications that require it for displaying information. I think datagrid supports for user customization in deep. My question is, is it possible to scroll up and down only for the items(rows), I mean while the header remains stationary and if the provided space isn't enough to accommodate it fully. I'm just using it in web application. Thank you.
|
|
|
|
|
|
How can i do this. Really need this thing to be even immune to z-order changing. Almost like how a mouse cursor is drawn above everything else.
I need this because i'm working on a class project to in effect create 2 additional cursors on the desktop... windows only allows 1, but if i can fake it somehow?
|
|
|
|
|
How about a way to just draw on top of any desktop program... not actually using a circular window that is always topmost above the most topmost other window?
Wait!!! i remember i had a computer once where if you changed the volume using the keyboard, that some graphics showing the volume were drawn across the screen... i think they were visible even in a directx game...
modified on Monday, October 12, 2009 12:18 AM
|
|
|
|