Click here to Skip to main content
15,178,202 members

Comments by explorerC (Top 57 by date)

explorerC 22-Aug-13 7:09am View
   
Hi Shmuel,

Type constraint is there, But it doesn't allow add multiple class constraint.

T CreateInst<t>(object param1) where T : TClass,HClass
explorerC 22-Aug-13 4:24am View
   
Thanks very much for your inputs
explorerC 21-Aug-13 8:32am View
   
Hey it works!!!...Thanks for the input
Is it possible to hold this object in generic object and access its properties ??
explorerC 21-Aug-13 8:27am View
   
Deleted
Hey it works
Is it possible to hold this object in generic object and access its properties based type??
explorerC 21-Aug-13 8:01am View
   
Hi Moses
Again getting compilation error.Are you missing a cast
explorerC 19-Aug-13 2:39am View
   
Hi Sergey,

Thanks for the reply.I have tried using dsofile.dll ,but it only supports *.docx.So was wondering if there is any other way to accomplish this.
explorerC 4-Dec-12 12:35pm View
   
Hi Thanks for the inputs given.
I have to load the application after boot-up it is kiosk kinda application.So i will be loading the view .But how to invoke the layer (between your View Model and the hardware as suggested by you.
Im sorry my question might sound stupid but it is my first undertaking such applications.
Any help regarding this would be of great help again.
explorerC 24-Sep-12 9:11am View
   
Hi shashi,Thanks for the reply.

There is need to read the data and process it continously .In which part this should be done in MVVM.
Progress bar is not shared over multiple views.
Read incoming data
----------process data based on ID
--------------------bind with UI(monitor continous changes in data and update in view)
explorerC 9-Jul-12 22:24pm View
   
Hi johannesnestler,
Thanks for the update .
explorerC 2-Jul-12 11:42am View
   
Thank you damith.......it worked

ImageBrush g_buttonBackGrnd2 = new ImageBrush();
g_buttonBackGrnd2.ImageSource = new BitmapImage(new Uri("pack://application:,,,/file.png", UriKind.Absolute));
tempBtn.Background = g_buttonBackGrnd2;
explorerC 29-Jun-12 4:44am View
   
Hi Guys,
It is working on my system.But got a problem working it on touch screen enabled screen.
explorerC 27-Jun-12 9:24am View
   
Im using a wpf Application
explorerC 27-Jun-12 9:15am View
   
Im using WPF .......It is not avaible there......Is there any alternative
explorerC 25-Jun-12 11:08am View
   
I want to dynamically bind image to listview items
explorerC 25-Jun-12 10:17am View
   
Hi Clifford,
The image is taken from the system using the path(located in application directory).

first column : want to add text
second column : add image + text
third column : image

Please help with some examples if possible
explorerC 21-Jun-12 5:28am View
   
This requirement is for a Touch screen application .I tried with mousedown and mouseup events with a timer that triggers after 5 seconds it is not working.

Im using a wpf application .

Im getting the exception the calling thread cannot access this object because a different thread owns it.


System.Timers.Timer objTim = new System.Timers.Timer(5000);
private void Button_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
// TODO: Add event handler implementation here.


objTim.Start();
}




bool tempSignal = true;
private void Button_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
tempSignal = false;
// objTim.Stop();

}


private void objTim_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
if (tempSignal)
{
genSetSubWinObj.Show();
}


}
explorerC 1-Jun-12 1:29am View
   
Thanks sandeep for the update
explorerC 23-May-12 8:25am View
   
I have updated the question.
Thanks
explorerC 23-May-12 7:42am View
   
Hi Sandeep,
I have done that but I want to run the application on every boot up ...
explorerC 7-May-12 4:43am View
   
I have main form which reads data from hardware every 100 ms(I have a background worker thread running for this).
I have buttons on main form using whihc i need to navigate to child menu.The child menu has to update with data got from window.
MVVM can u please explain on this??
explorerC 7-May-12 4:41am View
   
I'm not sure how this works ..Can you please elaborate the answer?
explorerC 12-Apr-12 1:44am View
   
There is no database here.Real time messages are transferred and received via USB slot to hardware called CANCase
explorerC 12-Apr-12 1:43am View
   
The data is not from database.
Im transmitting some messages via USB and receiving the response from the hardware.
the transfer rate in is order of milliseconds.
explorerC 7-Nov-11 3:24am View
   
k mehdi thanks for ur help.....
explorerC 7-Nov-11 3:19am View
   
Is there any way with which i can make it work ......
Adding some dll's which are used for automation model...
explorerC 25-Oct-11 5:22am View
   
But my application is crashing when i make huge number of calls to COM server Interfaces
explorerC 25-Sep-11 23:44pm View
   
hi sarko im getting the info about child nodes but im nt able to determine the correct type of child nodes.....Im using TI_GET_TYPE (dbghelp.lib ver 6) to retrieve types.But the values im getting are not constant
explorerC 22-Sep-11 9:33am View
   
thanks for the wonderful suggesstion Sarko
explorerC 22-Sep-11 9:31am View
   
Thanks ........gr8
explorerC 22-Sep-11 9:19am View
   
Hi there
If i use wstring Im getting the below error.
error C2039: 'wstring' : is not a member of 'std'

My project is and ATL COM Server project .Do i need to include anything
explorerC 22-Sep-11 4:51am View
   
Deleted
Hi Sarko.......I tried what you said .....I created an array with the size of structure then i used ReadProcessMemory ULONG64 tempBuffStruct[sizeof(my_struct)];
Is this what you were trying to convey.
explorerC 19-Sep-11 10:14am View
   
As of now i have introduced a large delay abt 10000 ms .It is working.
explorerC 23-Aug-11 8:59am View
   
Hi jose it worked man
thanks for the reply
explorerC 23-Aug-11 8:55am View
   
Deleted
Hi jose
i tried im getting compiler error......do i need to include anything
explorerC 5-Aug-11 8:44am View
   
hi YvesDaoust,
We have two processes a Server and a TestObject(.exe containing C source files).In the COM server we are loading TestObject(.exe) image using Dbghelp library and retrieve address and variable names collection .Using the address obtained from the .exe image we are trying to set(/get) value to a variable from COM Server in the TestObject(.exe).Following this approach we are unable to set/get the variable values from exe.Here the TestObject(. exe) is running independently and uninterrupted.Please suggest any possible approaches. IPC usage is ruled out in our scenario due to some connstraints.
explorerC 4-Aug-11 11:55am View
   
hi mic
ill get the address of the variable and use that address to set the variable value

Im getting the symbols of an .exe which im loading using dbghelp

//pass the variable name and get the address using SymName function

and then use that address to set value to that variable

is it possible
explorerC 4-Aug-11 6:06am View
   
Is it possible to set the values of variables using the address of variables obtained from dbghelp ????
explorerC 4-Aug-11 6:06am View
   
is it possible to set the values of variables using the address of variables obtained from dbghelp ????
explorerC 4-Aug-11 6:02am View
   
Hi Perrak
the link u sent is good and i have changed my code and it is working now
thanks for ur help..
explorerC 4-Aug-11 6:01am View
   
hi mic
I have changed the code and it is working ......I have removed the hardcodings.
thanks
explorerC 4-Aug-11 1:06am View
   
But the thing which parameter im passing wrongly......followed documents from MSDN for this example
explorerC 4-Aug-11 0:30am View
   
last error is 87
explorerC 4-Aug-11 0:10am View
   
hi im able load the module ......But when i call SymGetModuleInfo64 after loading it is returning 0 value.Im not able to get module infomartion IMAGEHLP_MODULE64 ModuleInfo;
memset(&ModuleInfo, 0, sizeof(ModuleInfo) );
ModuleInfo.SizeOfStruct = sizeof(ModuleInfo);
BOOL bRet = ::SymGetModuleInfo64( GetCurrentProcess(), ModBase,&ModuleInfo );
explorerC 3-Aug-11 22:55pm View
   
SymLoadModuleEx is always returning 0.

DWORD test = SymLoadModuleEx(g_hProcess, // target process
NULL,"D:\\TF_Sandbox\\SandBx_BL\\INTERN_91F\\TestSim\\debug\\TestSim.exe", // name of image file
NULL, // name of module - not required
dwBaseAddr, // base address - not required
0, // size of image - not required
NULL, // MODLOAD_DATA used for special cases
0);//) // flags - not required
explorerC 27-Jul-11 5:35am View
   
I TRIED UR solution
i dont think it is problem with .bat file question is about devenv command
explorerC 27-Jul-11 5:02am View
   
when i run the command comspec% /k C:\Win16App\VisualStudio2005\Common7\Tools\vsvars32.bat from windows command line shell .......it sets the path for devenv and im able to run the devenv command from command line.It is successfully building the project .......But when i put the same commands in batch file and try to run from batch file.It is not building the project.
explorerC 27-Jul-11 5:01am View
   
Deleted
when i run the command
comspec% /k C:\Win16App\VisualStudio2005\Common7\Tools\vsvars32.bat from windows command line shell .......it sets the path for devenv and im able to run the devenv command from command line.It is successfully building the project

.......But when i put the same commands in batch file and try to run from batch file.It is not building the project.
explorerC 13-Jul-11 10:03am View
   
Bob,

Jus want to find the method names ,no parameters and return types
The dll is written in 'C' Language
explorerC 13-Jul-11 9:45am View
   
questions was getting the type information of the assembly(methods names)
explorerC 13-Jul-11 9:45am View
   
dude im able to get the info for managed dll
but unmanaged im not able to able to load the assembly itself
explorerC 13-Jul-11 9:41am View
   
thanks for the info...........
explorerC 13-Jul-11 9:32am View
   
Yeah i heard of it .......I want to get the type information of dll .Methods names possibly
I guess PInvoke doesn't do that???
explorerC 23-Jun-11 6:06am View
   
Deleted
Hi i dint find any usseful info from the above link
explorerC 3-Jun-11 5:53am View
   
Any Suggesstions /References
explorerC 2-Jun-11 2:12am View
   
Not only passing the parameters ......i also need to recieve values when the .exe is running and send it to my client. Im creating the COM server using ATL(C++) and client will be in Perl and testdriver.exe will be C code(this contains existing code which we need to test)
explorerC 1-Jun-11 23:21pm View
   
Hi barney,
Thanks for ur reply
Here COM server will start the exe through one of its interface
explorerC 1-Jun-11 0:33am View
   
Hi barney,
the requirement is like that ......the exe will be test driver so it shud nt be coupled(i mean independent) from COM server.