|
|
hai,
Everyone who know that sending the command from Server to Client to execute .exe file. thus, Client can perform installation!
Thanks for ur reply!!!
|
|
|
|
|
What server? What client? Are these applications you have written?
Or are you talking about just sending a call to the remote Windows workstation and telling it to run something? BTW: This is a HUGE security violation and unless the account your application is running under has Admin rights to the target machine, forget it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I am trying to insert items in VB List View control from VC++ dll using SendMessage API. its in the same process and even the handle of list view is proper. I am using this code.. but it does not insert the item ...
TCHAR msgString[512];
TCHAR tempString[128];
wsprintf(tempString, _TEXT(" MsgId: %03d "), message->buffer[8] );
_tcscpy(msgString, tempString );
_tcscat(msgString, _T("sadsadsdsad "));
LVITEMW LvItem;
LvItem.mask=LVIF_TEXT; // Text Style
LvItem.cchTextMax = 256; // Max size of test
LvItem.iItem=0; // choose item
LvItem.iSubItem=0; // Put in first coluom
LvItem.pszText=msgString; // Text to display (can be from a char variable) (Items)
SendMessage(hwndMsgRqst,LVM_INSERTITEM,0,(LPARAM)&LvItem); // Send info to the Listview
I am able to get the item count using LVM_GETITEMCOUNT
Any help is really appreciated
Jaffar
|
|
|
|
|
Your question has nothing to do with VB/VB.NET and would be better handled in the C++ Forum.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote:
Your question has nothing to do with VB/VB.NET and would be better handled in the C++ Forum.
Brilliant!
If you cannot get the ListView to work directly, you can do it indirectly.
This is sort of a hack, but the APIs are much simpler.
Create a textbox in your VB app - hidden of course. Send the information from the C++ DLL to the hidden textbox instead of trying to put it directly into the listview. The Textbox Change event will fire like it normally would. Then you can get the text out of the textbox and put it in your list view. Or cache it, have the C++ DLL send some special message to signal the last list item has been sent, then populate your listview all at once.
Either way, synchronization is not a problem. You can do it in a loop in your c++ DLL with no fear of losing items. SendMessage is a synchronous call and it will not return to the C++ dll until the VB textbox Change event fires, executes any code it calls and finally exits.
Good Luck,
Robert
|
|
|
|
|
And why are you telling me this? Tell the original poster!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Oh my. A thousand pardons for not placing my post exactly in the thread tree in the manner you required.
|
|
|
|
|
The point is that when you reply to the original poster, he/she gets an email that says you replied to their message. All you did was send me a message that you replied to his post. Reply to his message so that he can get a notification that you answered his question.
BTW: It's not me who required it... May the fleas of a thousand camels infest your ... nevermind!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi All,
Currently I'm using mshmtl.HTMLdocument. What I'm currently working is update the page when I do a mouse rollover. Like when I go to the Table Definition on the webpage I should change the style of the border for that table. I was able to do that by saving the file to the temp and updating it.
Is there anyway to do this. Any help is really appreciated.
Pachhu
|
|
|
|
|
I need help with making a button click pull up a .exe file in a new window when the user enters a file name with out the .exe on the end and then clicks the button.
|
|
|
|
|
I think you're looking for Process.Start[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Searching[^] this web site using the search box at the top of every page for something like "meny icons" would be a good place to start.
This site is full of articles for several different languages including VB.NET for many different topics.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
Does anyone know where I get the business inteligence project to use with SQL reporting services?
|
|
|
|
|
What the heck are you talking about?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi
I can not find much documentation on how to create and view reports in a windows form. I create the report in design and instert the report viewer on the form and bind it to the report and then I am lost. I know I am missing a step. Please Help?
|
|
|
|
|
There's an entire section of registering, designing, developing, and deploying Crystal Reports in the Visual Studio .NET product documentation[^]. I recommend that you read it all, especially the sections about deploying Crystal Reports with your application. A question that gets asked so frequently is about a problem when reports don't run on a machine to which you've deployed because you didn't include the Crystal_regwiz2003.msm and set the registration code in the PropertyGrid before building your Windows Installer package (the supported deployment mechanism for Crystal Reports for .NET).
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
regarding the question u have asked.
Just tell me one thing, are u using .net version 2003 or .net version 2005
In case u are using .net version 2003, then it's quite easy to do the viewing of the report.
All the steps that u followed are good and the needed ones.
I think u have not configured ur .net version to show u the reports.
The version i am using donot require any extra features to show me the report.
So, i think there is some technical or software snag on ur system .
Hope, this will satisfy ur query.
If not u can send me a mail on tarun.tbansal@gmail.com and i will find some other way to help u out.
As i am working in .net field for the past 1 year.
Have a nice day / night whatever it is at ur side.
Regards,
Tarun
|
|
|
|
|
well, I'm developing a simple application with VS .NET 2003, it's quite finished already, but then I gave a copy of the exe file in the bin folder of the project, and it just didn't work at all, I don't have any problems in my pc, why did that happen? Is there a way to have my program actually running in another pc? and another question how can I put icons into a context menu?
thanks for the help
F chile
|
|
|
|
|
Do you have .NET frame work installed on the other machine.
Bhaskara
|
|
|
|
|
doesn't the .NET Framework come with the OS?
|
|
|
|
|
need not be. else run prequisits cd that comes with vs.net
Bhaskara
|
|
|
|
|
and what about the icons in context menu? any idea?
thx
F chile
|
|
|
|
|
Gotta love those VB guys.....
Did you install the .NET framework on the target machine ? I'm willing to bet the farm that you didn't. Did you realise that VB.NET compiles to an intermediate language ? That's why VB made such a quantum leap between VB6 and VB.NET, because they now target a new runtime, which is shared by all .NET languages, and also VB.NET.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Hey, I knew that, I'm not that newbie, all I'm asking is: does the .NET framework come with ANY os???
F chile
|
|
|
|