|
Actually it's visual studio 2002 that supports 1.0, 2003 supports 1.1
|
|
|
|
|
Yep, you're right. I've corrected my post as well. Thanks.
|
|
|
|
|
NP
Thankfully Visual Studio 2008 will include support 2.0, 3.0 and 3.5 so there will be less messing around and switching between IDE's.
|
|
|
|
|
originSH wrote: Thankfully Visual Studio 2008 will include support 2.0, 3.0 and 3.5 so there will be less messing around and switching between IDE's.
Yes, it's a great feature and will continue to improve with later versions of the framework.
|
|
|
|
|
I have an experimental speech recognition engine program I've been working on in vb.net. Anyways I wanted to use some code that uses directx to be able to talk directly to the program instead of having to save audio files in another program then open them in my program. Unfortunely the example programs are only in c++ and c#. So my question is what means are available that would allow me to use the c# code in my vb.net program? Also is there any way I could trigger an event in the c# code that would then make my vb.net code do something?
thanks for your help.
Mike
|
|
|
|
|
If you would prefer your source code to be in VB.NET and don't know how to convert it yourself, there are converters[^] that will do it for you.
If you don't want to convert the code, you could place your C# code in a separate project and compile it into a class library. You can then reference this library from a VB.NET project.
Paul
|
|
|
|
|
Thank you for your help Paul.
|
|
|
|
|
Hi everyone,
Hopefully anyone will take the trouble to give me an idea, i'm posting the problem i've been working around these two days.
I'm deploing a pocket pc application, using C# .NET Visual Stdudio 2003.
I send the data I want print to server using socket communicaton. After the data are printed i receive a message from the server by means of socket programming.
This is the method that catches the message from the server
public void OnDataReceived(IAsyncResult asyn)
{
//end receive...
string mesazhi = "";
int iRx = 0 ;
try
{
if(asyn != null)
iRx =s.EndReceive(asyn);
char[] chars = new char[iRx + 1];
System.Text.Decoder d = System.Text.Encoding.UTF8.GetDecoder();
int charLen = d.GetChars(m_DataBuffer, 0, iRx, chars, 0);
if(charLen != 0)
{
System.String szData = new System.String(chars);
if (szData == "Printed")
{ this.dataGrid.DataSource = this.dataTable;
this.dataGrid.TableStyles[0].MappingName= this.dataTable.TableName;
this.AddGridColumnStyles(false,"EMERTIMI","SASIA");
}
}
As you can see in the method, after i receive the message from the server i want to display some data in a datagrid, so i give to it a datatable as a datasource. At this point my application doesn't respond and i have to restart my pocket pc.
Please, someone help me!
|
|
|
|
|
Have you resolved this?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
yes, it's been a while since I solved this issue
(even I didn't get an answer from the forum here, msdn forum helped me)
Erisa
|
|
|
|
|
Hi all,
I connect to a mailserver through tcpClient ang get a netstream which has the details of the mails in a particular inbox. I was using ASCII encoding to read the netstream. But recently some mails containing german letter broke my code, since ASCII
doesn't include Umlaut characters.
The whole mail is not in german, so i cannot write Encoding.GetEncoding("iso-8859-1").GetString(
bytes).
so what i thought of doing is to convert the whole stream to ascii first.
Then find any occurance of fields starting with =? and ending with ?= to identify that field probably contains unicode and parse them as unicode.
but my problem is i am not able to transcode it back to unicode.
any pointers?? i am really stuck with this. pls help
thanks
|
|
|
|
|
I'm currently developing an application which communicates with a server through a webservice in order to upload files to the server, the problem is simple all files are uploading fine except those office 2007 files, I guess is the XML the problem, I was reading some articles and all they do is make a serialization prior to transmit the file and then on the server the inverse process, so I did it but still there are problems the file is transmited fine even the sizes are the same but when you trying to open the received file there is an error where Office need to recover the file, and it recover successfully but that's not good. Pleas eany idea will be great I'm don't know what else should I do. Thanks
|
|
|
|
|
Have you resolved this?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Yes the problem was solved, all the issue was caused by the method used to split the file into bytes, for some reason the way I was using work for all files except those office 2007 files, I changed the method and everything is working fine now
|
|
|
|
|
Cool deal.
Have a Happy New Year
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
hello ,
I am creating a optional setup dll for my installation. I am not able to use this set up file with my Win CE CAB file. the setup.dll exporting following function :-
Install_Init
Install_Exit
Uninstall_Init
Uninstall_Exit.
can any body help me how to use this dll in my CAB file.
thanks,
Yudhisthira Attry
|
|
|
|
|
hi there
we are handling some CIL and need to parse the call instruction. we are following the specification ( http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-335.pdf p.375)
in our case we need to know how to convert a methodref (0x0A) metadata token into a Reflection.MethodInfo type... would be nice...
we were just hoping that system.reflection would contain method to do this...
|
|
|
|
|
try
(returns MethodBase) someModule.ResolveMethod( descriptor );
|
|
|
|
|
|
Steady on you two. Get a room;P
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O'Hanlon wrote: Steady on you two. Get a room
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
What is the standard method for communication between .NET apps?
I've been using .NET to talk to a COM Automation Server, which allows me to create objects and get events on those objects.
However, I'd like to replace that COM Server with a .NET application. However, it's not clear to me how two .NET applications share objects, much less raise events between each other.
What's my approach, here?
|
|
|
|
|
You are searching for .Net Remoting. A quick search[^] here on CP reveals many articles which will help you to learn the basics.
Robert
|
|
|
|
|
.NET remoting still has it uses in a few cases (very closely tied processes) but generally speaking you should look at Windows Communication Foundations as it - ehh - well, it provides the foundation for communication on the Windows platform.
|
|
|
|
|
hi,
Can anyone explain how I can attain the following senario
What I have to do to display a warning message when I change the focus or try to edit another row, without entering valid data in the mandatory cells(fields) of the previous row
thnks.
|
|
|
|