|
Hello,
Use the Anchor or Dock property of the controls.
All the best,
Martin
|
|
|
|
|
thank you. i could do it by setting the Dock property.
|
|
|
|
|
You have to appropriately set the Anchor and/or Dock properties of the controls.
"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
|
|
|
|
|
thank you. i could do it by setting the Dock property.
|
|
|
|
|
I am new to Visual studio 2005.
In previous versions of Visual Studio, whenever you build a web application in debug mode, automatically a dll of the application used to get added in bi\debug folder.
Now in 2005 how do we create this dll?
please let me know ASAP.
Nana
|
|
|
|
|
Hi,
I require to get a value of varaibale in whole project. How can I ?
For exameple, In starting of applicaton i initialize the variable's state. That i require on several Form. I cannot change the name of variable.
Any one tried this.Plz give me some hints....
Binod K.
|
|
|
|
|
Hello,
You could use a const or static variable.
//mainformcode
public const int constint = 100;
public static int staticint = 100;
public Form1()
{
InitializeComponent();
}
//other class
int i1 = Form1.constint;
//setting a const variable is not possible at this point (Form1.constint = 200, will not compile)
int i2 = Form1.staticint;
Form1.staticint = 200;
All the best,
Martin
|
|
|
|
|
Martin# wrote: You could use a const or static variable
A const variable? (const = constant, which means it doesn't change; variable meaning it does change)
|
|
|
|
|
You got me!
All the best,
Martin
|
|
|
|
|
I am having trouble finding out how to open a document in its native external program client side.
The application is a web based serverside .Net App that needs to open a file which exists on the server, but using a clients local program (eg notepad for .txt files). I have tried Process.start(), however, this only starts a server-side process which the client machine never sees.
I want to avoid using a hyperlink as I really need the files to be opened on a _SelectedIndexChanged event.
Please can someone help, as this is the whole point of the app and it will screw up my process if it can't be done
Thank you all in advance
Mark
|
|
|
|
|
I think your chances to get an answer are higher, if asking this in the ASP.NET or Web Development forum.
"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
|
|
|
|
|
You cannot run Process.Start() to open a document on client side. AFAIK the only way is to redirect the client to a url where the document is located. You could try using window.open() if you do not want to close the existing page.
|
|
|
|
|
I need to be able to get every bit from a file (0 and 1). How do i do this. please help
rzvme
|
|
|
|
|
You could try reading all the bytes and then convert this to bits.
|
|
|
|
|
and how exactly do i do this
rzvme
|
|
|
|
|
Take a look at the BinaryReader (read data from the file) and BitArray (access the data bit-wise).
"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
|
|
|
|
|
i tried with that
but it retrives bytes (in ascii)
rzvme
|
|
|
|
|
rzvme wrote: but it retrives bytes
I know. That's why I also pointed you to the BitArray class.
"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
|
|
|
|
|
rzvme wrote: (in ascii)
ASCII has nothing to do with it. It returns the bytes in whatever format they are on the hard drive.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i don't want bytes i want bits(0 and 1)
rzvme
|
|
|
|
|
I know that, although I don't see why. My point is that what you said is wrong, ASCII has nothing to do with it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
You can use the && operator to pull out each bit.
myByte && 1
myByte && 2
myByte && 4
etc
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how exactly do i use this??
rzvme
|
|
|
|
|
Nothing reads bits. You need to take each byte and strip off the bits to get the bit you want. If your value is 10001101, then 10001101 & 1 = 1, 10001101 & 10 = 0, 10001101 & 100 = 1, etc.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|