|
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
|
|
|
|
|
Well, if you're not a newbie, then you're not very good at asking questions. Google would have answered this for you in seconds, the answer is no.
|
|
|
|
|
Ok, thanks. I'll keep that in mind. please any idea about icons on context menu?
Regards
F chile
|
|
|
|
|
Actually it does, last I checked only Windows Server 2003.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
assassyn wrote:
does the .NET framework come with ANY os???
I'm pretty sure that the .Net Framework comes with Windows XP. However, I think it is only the 1.0 version and not the 1.1 version that Visual Studio .Net 2003 uses.
However, I haven't checked this until recently, and I have installed many updates since my "fresh" install of XP. I may be wrong.
I hope this helps
My sig:
"It isn't a bug, it's a feature I didn't know about." - Programmer2k4
Oops, Programmer2k4 is now old...I should have thought about that a year in advance.
|
|
|
|
|
Unless they quitely made part of XP in more recently shipping boxes, the .NET Framework doesn't come with XP.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|