|
Hello
Wait a minute!! I thought setp program does that for you?!! Check the Add/Remove programs in the control panel after you install your app. Otherwise why would you make a setup?!!!
Regards
|
|
|
|
|
I am displaying images in my application. I want to display the images dynamically by assigning absolute path to the image controls. When i deploy my application in the web server, i could'nt view the images in the browser since it checks for the clients local path. How to solve this.
Thanks in advance.
Saravanan. P
|
|
|
|
|
This is a web app ? If so, how are you managing to load images locally ? If not, how are you loading them and how does the server fit in ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for immediate reply.it is web app developed using c#.i am dynamically assigning the absolute image path ( like c:/bat.gif ) to image controls at runtime.after depolying, my app is searching for bat.gif in client machine but i want my app to search for bat.gif in server machine and display it.How can i do it.
|
|
|
|
|
You need to point to the images using the path to the server, such as www.mysite.com/images/img.gif. If you put a local path, then you'll get a local path.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Any images that you want to display have to be accessible through the web server. You have to use the virtual address of the image, not the physical address, as the browser will be getting the image through the web server, not through the file system.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks for immediate reply.
|
|
|
|
|
Hi all,
Is it possible to send a file directly to a printer in C#?
Thank you in advance.
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
|
|
|
|
|
Can any one please tell me how to implement flat files with NHibernate. I dont want to use the database with NHibernate. I wanted to use the flat files to save the data using the NHibernate.
Rakesh
|
|
|
|
|
plz any body tell me how i can add items to listview control with a sample C# project.
|
|
|
|
|
|
use a ListViewItem property for the list view u have
ListViewItem item;
item=new ListViewItem("cchandru");
items.SubItems.Add("kanth");
YourListviewControlName.Items.Add(item);
even i had this problem before..lol
cheers,
Chandru.
|
|
|
|
|
how i can add bitmap images to ListView Control e.g Folder Image
plz give me an idea about that.
thanx
|
|
|
|
|
u have to add a image list to the listview control property and then in the list view item property u add the image.
ListViewItem item;
item = new ListViewItem("Chandru",O);
/*
tht zero represents the image tht has to be added to this column from ur image list
0 -> 1st image in ur image list collection
1 -> second image.
*/
Am i clear to u?
|
|
|
|
|
I implemented an ActiveX control in C#. The interface looks like this:
public delegate void FooDelegate(string bar);
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IMyActiveX
{
// ...
event FooDelegate Foobar;
}
Now, I'm stuck. I've got a client application for my control written in C++ / MFC and I can't figure out how to subscribe to the event.
Anyone?
-----------------
Alex
|
|
|
|
|
Is it possible to determine programmatically whether a perticular software is installed in our system.
For Example
I need to know whether MS Office is Installed in my PC Using C#
If u have solution for this perticular problem then reply me soon with sample Application in c#
|
|
|
|
|
Yes, it's possible.
Check COM object by GUID or COM-interface name in registry.
My english is not so good. Please, correct my errors.
Best regards, Alexey.
|
|
|
|
|
Hi guys,
I want to add a load screen in my application. How can I make a load screen appear with percentage while my application is doing its job at background ?
Thanks for your helps and best regards !
.:: Something is Wrong ::.
|
|
|
|
|
Hi,
First of all what do you mean by -
pashje wrote: add a load screen
I guess you want to show a progress bar or some thing like that ?
If i am correct you will have to add multi-threading into ur application, wherein your progress bar will be in some other thread than ur application and would update as you complete the tasks in the application.
You will need some communication medium between the two threads such as global variables ( for example ).
Hope i guessed correctly !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
Yep, you are right.. All I need is that! But my problem is with that percentage. I mean how should I make the progress bar increment correctly (for instance the job working on background will accomplished after 50 sec.. then every second my progress bar will increment 2 percent. but actually my program do not know how many seconds the job will take.. so just make a guess ? )
.:: Something is Wrong ::.
|
|
|
|
|
Hi,
You can subdivide the job into some small jobs for which you can assign some predefined percent. Suppose for example u want to copy say 100 files ( I consider this as ur complete job ) then u can increment the progress bar value after each file is successfully copied.
I think this is the only alternative to just depending upon time. You will have to divide your job in some small parts. this is ur best chance for a correct result.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
Thanks, I really appreciate your helps..
Now the only problem is that messy cross-thread calls but I think ı can overcome this problem..
Thanks again..!
.:: Something is Wrong ::.
|
|
|
|
|
Search "splash screen" on codeproject.
To ubdate progress in other thread you must use Invoke mechanism.
-- modified at 4:09 Thursday 17th August, 2006
My english is not so good. Please, correct my errors.
Best regards, Alexey.
|
|
|
|
|
Hello All,
I have recently developed a small application with C#.
What I wish to do is to add an uninstaller to the application that the user can use to uninstall my application instead of having to use the windows control panel.
Can someone please show me how to do this iin C#?
Thanks,
Maaran.
|
|
|
|
|
What can I set privilige of saving avi file realtime in c# code?Because I want to start record after the button click.The system don't start record immediately.The process waits and starts record after some minutes.I want to learn how I can set priority of record process from the others.
Thanks.
|
|
|
|