|
It seems to be really a virus activity, in spite of I scanned my machine and got none infected files
But, I discovered the problem source
The executable file is opened somehow and some bytes are appended making it unusable.
So, the simple solution I did is ....
... I put the file in the READ ONLY access mode
Now, everything works well
Thanks to all participants
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
|
priyankJ wrote: what kind of changes I have to make in postgreSQL.
You should ask the postgreSQL people.
|
|
|
|
|
Hi all,
I have alomost 20 pannels but on the form load i have to dispay upto 3, depending on the parameter,
so here what am trying to do ... i am creating a form having all the pannels and during runtime on form load am hiding rest of the pannel apart from which one need to show, but its dosent looks good coz of space..
so my question is
1.How can i remove the space i tried with panel1.Size=new system.Drawing(200,300)
but not able to locate properly..
2.can it be done by anyother ways ?
Thank you very much
vikas da
|
|
|
|
|
> 1.but not able to locate properly
Control.Location, Control.Size and Control.Bounds are your friends...
>2.can it be done by anyother ways
hu.. what kind of way?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Super Lloyd wrote: hu.. what kind of way?
like if we have no of pannels somewhere else .. since we are knowing the names of all the pannels so at run time if can add the required pannel ..
am asking coz if i am saying pannel.hide or setting its visibility as false it will still use memory ...so why should we keep something that is not usefull ...so can you help me here ....
Thank you very much for your reply
vikas da
|
|
|
|
|
I do suggest using Hide()/Show() instead of destroying/creating the panels.
For some reason destroying/creating the panel takes a noticeable amount of time, and can really drag the application down if you have many of them.
On the other hand your panels probably don't use that much memory and show()/hide() is quite fast.
Anway, good luck!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
oke thank you very much
vikas da
|
|
|
|
|
You can create panels at runtime and add to the form's Controls collection.
That's what the code created by the form designer does.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thank you very much Guffa ... but here i am failing in my knowledge ... can you please help me here ...with some sample code ...
thank you very much ...
vikas da
|
|
|
|
|
Why dont you just dock the panels properly & then set the visible to true or false based on your parameter.
If all the panels are docked properly setting the visibility will do the trick for you
|
|
|
|
|
wooow great idea it is working fine for a sample ...let me implement this into my code ..
Thank you very much ....
vikas da
|
|
|
|
|
I have a repeater control rptrSubjects...
it contains checkbox field...chkSubjects
I want to retrieve the values of all the checked items in the checkboxes inside the repeater control...
Inorder to fill in a label with the text of all the checked checkboxes separated with comma...
|
|
|
|
|
I guess this means you're asking in the wrong forum. We have a forum for ASP.NET questions.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Hi,
I am trying to get printed document name and source machine name from where print command is given. I am not able to get printed document name.I would like to get printer job status using PJL.I have HP Lasertjet P2015dn Printer. Please tell me, does this printer support Job Status PJL command?. If you have any sample code.Please tell me.
I have written PJL Command like this
\x1B%-12345X@PJL USTATUS JOB = ON \r\n@PJL USTATUS DEVICE = ON \r\n\x1B%-12345X\r\n
Thanks in advance.
Regards,
Rajesh
rajesh
|
|
|
|
|
Hi everyone,
I am using VB 6.0 OCX from c# application.
It throws the folling exception after using its method.
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
What is the solution to get rid of the problem.
Thanks.
|
|
|
|
|
I would like to ask how to copy a MenuStrip's content to a ContextMenuStrip's content. In VS 2003, I can do it with :
foreach (MenuItem menu in menuTest.MenuItems)
{
contextMenu.MenuItems.Add
(menu.Index, menu.CloneMenu());
}
But how can I do it in VS 2005 ? Thnk in advance
|
|
|
|
|
VS 2005 (.net 2.0) still supports everything that VS 2003 (.net 1.1) does, so the same thing should work.
(If it doesn't, post details about the error you are getting)
Simon
|
|
|
|
|
The reason you could do this before is because .NET 1.x used the original version of a menu control. In .NET 2.+ and 3.+, all menus derive from the ToolStrip (generic for both menus/toolbars). As the other poster said, all .NET libraries are backwards compatible, however you will have to look into how to target the Menu control from .NET 1.x. My suggestion would be to try to adapt to the new MenuStrip which is sticking around with future .NET frameworks.
Regards,
Thomas Stockwell
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.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Friendz,
1)How to write SQL connectionString on web.config file using c#?
1)And how i call that connectionString to my webApplication?
CheeN
|
|
|
|
|
Both your items are numbered one....
You should ask ASP.NEt questions in the ASP,NET forum. Also, there are plenty of articles on this site, I'm sure that there are some that cover this, connection strings are the canonical example for using config files.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: Both your items are numbered one....
Oops
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
i need to download files from share's folder other PCs within the same network.
for example (manually):
- i go to Start->Run -> and type IP "\\xxx.xxx.xxx.xxx"
- browse C: -> programfiles -> a target folder-> a target file
- copy them to my PC
but i have to download files for 40-50 machines,
So i need to do it automatically read the list of IP address and download files form specific path?
How to do this?
Does WebClient class could do this?
Thank
^^
|
|
|
|
|
I'd imagine that you could do this just by specifying paths and using File.Copy, I would expect it to work so long as your path would resolve in Explorer on the machine running the code.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|