|
I have a VB.2010 program that has a Setup/Deploy project. It is one of many using the same techniques (MSI file with file exists and launch conditions)
It was been installing fine on all supported windows until now on Windows 10. It still installs fine on Windows 7.
The setup has a file exists condition requirement in a launch condition. This file is definitely on the target PC in the correct folder and is the same file used by several other vb.2010 programs that did get installed ok on this W10 PC but not this program. The message is triggered that the launch condition (file not found).
This has happened on a client's machine and ours.
Any idea why this one program's S/D can't find that file and more important how to fix it.
Thanks
modified 22-Nov-15 6:27am.
|
|
|
|
|
i have C# Windows-Mobile program, that open frmWork form - from Main form.
my Forms Directed for:
WindowStat = Maximized
TopMost = True
FormBorderStyle = None
from Form1 to Form2 i do something like this:
this.TopMost = false;
Form FG = new frmWork();
FG.ShowDialog();
this.TopMost = true ;
i try allso do this:
Form FG = new frmWork();
FG.ShowDialog();
i try on frmWork to do something like this:
this.BringToFront();
this.TopMost = true;
But unfortunately nothing helps, Sometimes the form is opened below the main form and can not see it.
I'd love to get direction to solve the problem
|
|
|
|
|
Have you tried to pass the parent as a parameter with ShowDialog[^]?
Form FG = new frmWork();
FG.ShowDialog(this);
|
|
|
|
|
Hi,
I have created an application to get the data from bio-metric machine using C# [using Timer]. But it's not stable during its continues working. Please any one help me to design a stable scheduler program in C#.net.
Thanks
|
|
|
|
|
You need to analyse why it's not stable. Is it a problem with the hardware? Are you having threading issues? Having an effective logging and exception handling strategy will be a big step forward for you, as it should help you focus on the causes of issues.
|
|
|
|
|
No, It doesn't throw any exception, but show a message that "Application has stopped working", after two more days.
|
|
|
|
|
Then you most likely have something like a memory leak going on in there. By the way, why have you asked this in the WinForms section? Surely your application is a service.
|
|
|
|
|
I am sorry, Its Because, I have created a Windows Form application to do this process and to visualize my schedules and list of my machines. I have closed all my objects after its use, then how the memory leak happen?
|
|
|
|
|
You need to do some memory profiling. Download one of the excellent profilers available and set it away.
|
|
|
|
|
Thank you sir, Is there any efficient method to create such scheduler, am using timer class.
|
|
|
|
|
hi,
I am creating a pdf using iTextsharp dll , and i need a open source dll/ dontrol to display the created pdf without using Com component or any paid dll . there must be no dependencies . i am finding it challenging , can anyone help me with my RnD?
|
|
|
|
|
Only ask a question in one location. It's considered bad form to cross post messages.
|
|
|
|
|
Hi,
I am trying to build a windows form application where i can control basic features of windows phone such as, call and message. Suppose phone and PC are in the same wiffi network, then i need to get the call notification on my windows application as soon as i get any phone call over phone and same goes for the message also.
Please any one let me know is this can be done, if else please guide from where i have to start.
I was planning to WCF for interation with the phone using TCP.
Thanks,
Vishal
|
|
|
|
|
VishalDesai wrote: please guide from where i have to start. Probably with some research into the mechanics of such an application, and what utilities/libraries are available to help. www.google.com[^] is where most people would begin.
|
|
|
|
|
What??? OK, more like superceded.
I am currently writing a book on Windows Forms. It was a surprise to me, while fact-checking, that Label and LinkLabel have been "replaced" by ToolStripLabel .
The ToolStripLabel control replaces and adds functionality to the Label and LinkLabel controls. However, the Label and LinkLabel controls are retained for both backward compatibility and future use, if you choose. Link[^]
So, no need to start changing our code, but I'm amazed I've never seen this before.
|
|
|
|
|
I suspect it's just a poor choice of words in the documentation. The Label and LinkLabel classes are not marked as Obsolete , and you can't use the ToolStripLabel directly on a form:
ToolStripItem controls must be contained in a ToolStrip , MenuStrip , StatusStrip , or ContextMenuStrip and cannot be added directly to a form.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Thanks for the info, funny how it takes them ages to change something that seem logical...
|
|
|
|
|
I am working with datagridview. My datagridview virtual mode is turned on.so i populate grid this below way
private void dataGridView1_CellValueNeeded(object sender,DataGridViewCellValueEventArgs e)
{
e.Value = memoryCache.RetrieveElement(e.RowIndex, e.ColumnIndex);
}
basically i took the code from a msdn link and customize bit. one thing is not clear to me which function is getting called first when user scroll datagridview. please tell me the function name.
also tell me how relation has been established between datagridview scroll and function call to load next set of data. here i am not posting my full code rather here leaving a url from where anyone can see the full working code.
here is the url http://stackoverflow.com/questions/31458197/how-to-sort-datagridview-data-when-virtual-mode-enable/31475803#31475803
please have a look and help me to understand the area which is getting called when user scroll down the datagridview. thanks
tbhattacharjee
|
|
|
|
|
Tridip Bhattacharjee wrote: one thing is not clear to me which function is getting called first when user
scroll datagridview. You should read more of what is one MSDN, as it explains the topic quite well. The "ValueNeeded" event is called for each cell that needs painting, regardless of what causes the paint; whether that is a scroll, or maximizing the form. If the grid needs values, that event is fired.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
My datagridview virtual mode is turned on.so i have to populate grid this way
private void dataGridView1_CellValueNeeded(object sender,DataGridViewCellValueEventArgs e)
{
e.Value = memoryCache.RetrieveElement(e.RowIndex, e.ColumnIndex);
}
from these thread
http://stackoverflow.com/questions/13856869/notify-when-event-from-another-class-is-triggered
http://stackoverflow.com/questions/4378339/raise-an-event-of-a-class-from-a-different-class-in-c-sharp
i got the logic how to raise event to calling environment.
i am in confusion from where to raise event in my code. apologized that i could not submit my full code but here i am mentioning a url where i post my full working code. please have a look and guide me how to raise event from my code.
so this is the url where i post my full working code
http://stackoverflow.com/questions/31458197/
how-to-sort-datagridview-data-when-virtual-mode-enable/31475803#31475803
My Objective
i want to raise a event when data load will start and again want to raise another event after populating all rows of the grid.
my Event handler code would look like
public void BeginDataLoad(object sender, EventArgs e)
{
//Do something here
}
public void EndDataLoad(object sender, EventArgs e)
{
//Do something here
}
looking for help with code sample. thanks
tbhattacharjee
|
|
|
|
|
Your loaddata-event is when the memorycache is being built. The enddata when it is done.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
HI, guys!
I have a function in my application that searches for horizontal tabs in a text file. So far, I've been using a String^ variable named "Glo::m_tab" initialized as L" ". Works fine.
But what if I want to look for a black star, or a form feed or any other control character within the file?. How do I work the U+0009 code for HT into my function?. I've found no examples.
THANK YOU!!
|
|
|
|
|
|
|
Hi, guys!.
I need one of my forms to do something immediately after the form itself and all the controls are shown (all initialized), but before the user even clicks on anything. THANK YOU!
P.S.: I'm not an expert. It's written in C++ .NET using Visual Studio 2010. I tried the Form_Shown event, but it didn't work. Thanks again.
|
|
|
|