|
It might that border less forms not listen to min/max events
workaround is maybe to hide/show the form
|
|
|
|
|
This[^] thread might help, or at least give you some ideas.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hi,
This helped much... BTW 0x0313 is the Hexa code for mouse right click, what is the code for mouse left click ?
Thanks
|
|
|
|
|
satsumatable wrote: BTW 0x0313 is the Hexa code for mouse right click
Where did you get this information from?
I have googled and found no reference to it.
The only reference to 0x0313 that I can find, for 0x0313 and mouse, is to the WParam of a, seemingly, undocumented Win32 message, whose LParam contains the mouse coordinates.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
when using drag and drop you donlt actually move the object ,you just move the cursor then drop it.
i want to use drag and drop but to see the object moving on the scrren.
thanks in advanced
|
|
|
|
|
This[^] is an example of how to have a ghost image when dragging in a treeview, you should be able to use that logic for your needs
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
how 2 insert date and time both in one field??
data type of field is date
|
|
|
|
|
Use datetime ?
Which platform are you using?
|
|
|
|
|
i get date and time in label in this format
23-JUL-2009 18:06 PM
now i want to add this time or date in database.
|
|
|
|
|
first use the code below to convert text to datetime
DateTime d=Convert.ToDateTime(lblFoo.Text);
then send d value to database.
|
|
|
|
|
|
With the limited information you have provided, a musefan search returned too many results to display. Please refine your query.
mjawadkhatri wrote: how 2 insert date and time both in one field??
do you want to insert 2 instances of the date and just 1 time or is it 2 instances of a date AND a time?
mjawadkhatri wrote: data type of field is date
I didn't know fields had a 'date' type, I thought it was either 'Cow' or 'Sheep' or some other animal... oh, maybe your mean like a field in a table or something? It's hard to tell with such limited information
So, to sum up...
Are you referring to a field in a database? If so, what kind of database is it?
What format is the date and time data that you are trying to input? How is it stored?
P.S. the beauty of written messages is that people can re-read if they don't understand, so there is no need to shout if you fear they may not hear you the first time.
Just incase...
the beauty of written messages is that people can re-read if they don't understand, so there is no need to shout if you fear they may not hear you the first time.
I look forward to your lack of response
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
well if the column is of type data you can't place time along with it. I suggested backup your db or better first create some test data base create a column with type date, populate some entries and then change column type to date time and see results. I think changing column type form date to date time won't heart your existing changes because date time can accommodate more information so there would be no information loss in this way your change would be backward compatible.
|
|
|
|
|
I Am Using Oracle Database.
|
|
|
|
|
Have a look at this[^] then, it should help you.
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
repost[^]
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Hi,
I have developed a smart client desktop application using SCSF.
It has an MDI and MDI child forms opens over it(It is similar to windows menu based application using MDI) .
The problem is that the MDI child forms (i.e. the views) take a few seconds to open and load.
Is there any way of minimising the time it takes.
The forms are having simple text boxes and labels and grids(which has two columns and is not populated during load)
I call a webservice at form load and have tried to comment the service call; Even then it takes the same time so I have ruled out the possibility of service delay.
Nothing else is done at the form load except the form is rendered
All MDI child forms(views) are taking the same time.
I dont have knowledge of SCSF internals, and how SCSF does all the handling of smart parts etc.
May be it might be tuned up to load the views faster or there is some way to make the CAB work faster which I am unaware of.
Could not find the forum related to SCSF so posting it here, please suggest in case you have knowledge of SCSF message board in code project.
Thanks in advance.
Sakshi
|
|
|
|
|
First try with marking all your forms double buffered, secondly you may try to put some way to manage cache for example if you have downloaded something and its not changed then it would be better to make use of that instead of downloading same thing again and again. Secondly put some paging type thing in it to download specific parts for example instead of downloading 100 records from webservice on client side and then filtering them upon some criteria it would be better to ask webservice to return you only desired records. Secondly although I am not a fan of show/hide tech in windows forms but it may do the trick in your case and will be much faster then creating new form each time.
|
|
|
|
|
Dear All,
I am trying to create a folder in our remote server which is inside our domain.
i am using very simple code as CreateDirectory("dirPath").
i am getting an exception which says access denied to path "file path".
well i have user name and password which i can access remote server from windows.
how can i access remote server with my user id and Password and then create directory or files based on userid which i am logged in?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Access you domain control panel and assign read/write access to ASP.NET account. Folder creation requires ASP.NET code to run with write permission on desired location.
|
|
|
|
|
It is not ASP.Net application, its just Windows Application!!!
one way to use can be impersonation which i have done.
do we have some other ways?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Then check how to configure the .NET Security and assign permissions. Sorry I was so busy in ASP.NET stuff that I didn't realized that you are asking for something with windows application
|
|
|
|
|
Hello.
I have two Bitmaps. I know that the small one is contained within the big one, and I want to search for it and return its position (a Rectangle):
public Rectangle findBitmap(Bitmap smallBmp, Bitmap bigBmp);
I can do this by making lots of pixel comparations in nested fors, but obviously it's too time-consuming since there can be literally hundreds of thousands of comparations. I need a *very* fast way to do this.
I've been reading for a while about Template Matching and I think it could be the way, but it's a difficult subject and I have not found any example or code that could help me. Could you please give me some advice?
Thanks in advance.
|
|
|
|
|
|
Thank you, I will read them all, specially the Image Processing for Dummies series.
|
|
|
|