|
That sounds like a very good idea. I was hoping that folks could download updates and apply them without having to exit the program. I guess if there's some way that App could start up the Launch app and then close itself and then the Launch app would relaunch the app, that might work. Could get me into a loop though.... I should definitely think about this one.
Any ideas or thoughts?
And thanks for your answer!!!!
Denise "Hypermommy" Duggan
|
|
|
|
|
you're welcome.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Hi,
i did something quite some time ago.
i used just one .EXE... if i found one update on the web server i download it to a temp file then i create a batchfile. that renames the files... i run the batchfile and close my application... i use a timeout command on the batch file that way i'm sure the time the user presses a key on the batch file window or the timeout expires my main application windows is already closed....
|
|
|
|
|
Hi
I have two tables
1)
Categories
CategoryID --- PK
Category Name
2)
Subcategories
CategoryId----FK
SubCategory
I would like to display the category name from Categories table in combobox.
Based on the selection from the combobox corresponding subcategory from the Subcategories table( here Category id can be duplicate)in the listbox.
Is the table constructed good...?
Would be nice if anyone could help me in this.
Thanks
Sathi
|
|
|
|
|
AKSSMV wrote: Is the table constructed good...?
Yes
AKSSMV wrote: Would be nice if anyone could help me in this.
Help you with what?
|
|
|
|
|
Hi
Thanks for the reply
1)
Categories
CategoryID --- PK
Category Name
2)
Subcategories
CategoryId----FK
SubCategory
I would like to display the category name from Categories table in combobox.
Based on the selection from the combobox corresponding subcategory from the Subcategories table( here Category id can be duplicate)in the listbox.
Thanks
Sathi
|
|
|
|
|
Please help me with this......
I would like to display the category name from Categories table in combobox.
Based on the selection from the combobox corresponding subcategory from the Subcategories table( here Category id can be duplicate)in the listbox.
Thanks
Sathi
|
|
|
|
|
AKSSMV wrote: Please help me with this......
If I can help, I will. However you first need to explain what you need help with.
|
|
|
|
|
I would like to display the CategoryName from Categories table in ComboBox.
Based on the selection from the ComboBox display corresponding SubCategory from the SubCategories table
(here Category id can be duplicate) in the Listbox.
Thanks
Sathi
|
|
|
|
|
Ok, but can you stop telling me what you want to do and explain why you can't do it? In other words, what is the problem that you need help with? Which is what I have asked you like 3 times now.
|
|
|
|
|
Sorry for the trouble.
Please help me with the code to get the job done as written in prevous message.
I would like to get the categoryId of the selected categoryName of combobox from the Categories table so as to compare and display the subcategory in the listbox
Thanks
Sathi
|
|
|
|
|
Oh, you don't want to program yourself, you just want someone to create code for you?
Do you also need someone to polish your shoes?
|
|
|
|
|
Wow.....what a nice answer......
just because i am not smarter than you....
Thanks
Sathi
|
|
|
|
|
AKSSMV wrote: just because i am not smarter than you....
Smarter? Really? That's your excuse? WOW
AKSSMV wrote: what a nice answer
In four attempts you still have not provided even the smallest amount of information about the programming problem you are having. How long did you think it would be until you irritated someone?
|
|
|
|
|
Thanks a lot
Sorry for all the trouble...............
Thanks
Sathi
|
|
|
|
|
Hi,
Your problem is that on the subcategory you need one more field
you need
Categories
ID
Category
SubCategories
ID
Category
SubCategory
You should use the ER Model always that it is possible and that requires a unique identifier per table... for me this is the easiest way to do it!!!
Your queries should be some like
For the Categories
SELECT * FROM Categories
For the subcategories
SELECT * FROM SubCategories WHERE Category = 'YOUR CATEGORY ID'
This way you retrive all the sub categories for that specific Category...
with no offense but Sometimes i dont understand what kind of work is this people doing to so this basic questions! i believe that you should buy a book and understant the whole concept about databases before trying to do this kind of job
|
|
|
|
|
hi,
How to automatically click Ok button in MessageBox?
After the message show.
Without click OK button by user. Will OK button fire automatically?
Ex:
MessageBox.Show( "Welcome", MessageBoxButtons.OK );
Thanks,
Raja
|
|
|
|
|
Hi,
MessageBox does not have a time-out. You can solve this in many ways:
1.
launch a timer, when it expires, find the window handle, then either send a close message, or locate the OK button and send a click message.
2.
much easier: create your own messagebox class, and provide a built-in time-out with a timer that simply closes this form.
modified on Thursday, May 7, 2009 10:32 AM
|
|
|
|
|
I second number 2, this is your best option.
|
|
|
|
|
hi iam using vs 2005 c# window application
iam using a viewlist to show data about some product for a project iam doing
however only part of the data needs to be shown e.g(name,id) hidden(gender,weight)
originally i was using a static array to store the hidden data.
now iam wondering if it is possible to let the view list store the hidden infomation and such
is this possible? or even recommanded? any recommandation?
please advice.
|
|
|
|
|
neodeaths wrote: is this possible?
Yes
neodeaths wrote: or even recommanded?
Depends, but under normal circumstances, no.
neodeaths wrote: any recommandation?
There are things called Principles and Best Practices in the field of software design that have been established through years of experience. Here are two that address your question.
Separation of Concerns[^]
Model-View-Controller Design Pattern[^]
|
|
|
|
|
I am assuming you are slightly dislectic (or English is not your first langauge) and you actually mean a ListView.
When loading the LV put the datarow/array item into the tag property, set the subitem column width to 0 to hide it and when you select the item you have the supporting data object available in the tag property. Caveat - this gets VERY slow when loading a large amount of data.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
hi all,
can anybody knows help me.while installation of any msi windows installer creates copy of that msi with newly generated msi file name in temporary location("%WINDOWS%\Installer\").so i want to know how windows installer will generate that new msi file name.
|
|
|
|
|
The generation of that filename is random and cannot be predicted. Why would you want to know?
|
|
|
|
|
Thank u for responding my question. i feel happy to share my doubt with u.actually i am working on msi. i am trying to deploy an application without the need of installing the application by windows installer in the target pc. so mostly i am trying to simulate windows installer services and functions for security purpose.Actually client dont have required permissions to install an application, that's why windows installer creates copy of msi package in the temporary location ( RootDrive:\Windows\Installer\") from where installer performs installation with full accessible services required for installation of application and also it uses that copied msi for installation, Repair and uninstallation. so i need to do research on copied msi with generated msi file name.
|
|
|
|