|
Hi,
My application is running on framework 1.1 with no problems, but when I change the framework and make it 2.0 then application is not working properly. Some javascript part is not running also some pages are not displaying due to configuration error. Can you please inform me how to solve these framework compatibility bugs?
-- modified at 23:50 Tuesday 6th February, 2007
#Abhi#
|
|
|
|
|
Hi all,
I strating a thread and in thread function i am starting a timer,
in timer proc i am reading a file and put these into a collection but
now i want to call another function through thread proc not from timer but i am not able call other function from thread because of this timer,
so can anybody give me idea what i have to do.
i am starting timer in my thread function as follows :
System::Timers::Timer^ r_ScheduleTimer = gcnew System::Timers::Timer;
r_ScheduleTimer->Elapsed += gcnew ElapsedEventHandler( CScheduleTimer::TimerProc );
r_ScheduleTimer->Interval = 10000;
r_ScheduleTimer->Enabled = true;
Console::ReadLine();
|
|
|
|
|
I am developing application in VS2005 C#, Windows Mobile 5.
Please help, I have some doubts..
1. How to code for softkeys in Windows Mobile?
2. How to add background image?
3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this?
4.How to install exe file with icon/logo to Windows Mobile programs collection?
I am a newbie for WM development,So, please bear with my questions.
Thanks in advance
|
|
|
|
|
Please don't cross post
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I am new to the .NET framework, but have a lot of experience with C++ and MFC. I need to do a simple thing. I am using a StreamReader to read lines of text from an ASCII file. I then need to do formatted reads on the Strings^s I get. That is, I want to read substrings, integers, floats, etc, from each line. I guess I could convert the String to a char array and use sscanf(), but that seems dumb.
I can't find any documentation on how to do this. Help!
By the way, are there any good books on C++ .NET that go over the class library ...
Thanks in advance,
Tom
|
|
|
|
|
Wy not use normal c++ stream operations or fscanf to parse the file and then convert the results to .Net String's?
System.IO.Path.IsPathRooted() does not behave as I would expect
|
|
|
|
|
The only reason I haven't done that is that I thought there must be some .NET way to do it directly on the Strings, and I wanted to learn it.. (I don't have a deadline!)
Thanks,
Tom
|
|
|
|
|
Well, I've found an answer that is workable and uses only Strings. There is a method String.Split() that lets one split the String into pieces - I use white space for the delimiter, and that gets me what I need without resorting to 'old' coding practices!
Thanks,
Tom
|
|
|
|
|
<big>Can somebody tell me what is <code>"Code Com"</code> in .Net ?:((:((</big>
-- modified at 1:37 Tuesday 6th February, 2007
Pavan Pareta
|
|
|
|
|
Never heard of it. I know what COM is, where did you hear it ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
He means CodeDOM.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Do you possibly mean CodeDOM[^]?
Regards,
Tim
|
|
|
|
|
YES...
THANKS FOR MY N
Pavan Pareta
|
|
|
|
|
CodeDOM stands for code document object model. It's basically set of classes and interfaces describing structure of source code. You can read more on MSDN.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
I need Urgently The Source code for video watermarking..
If Anyone out there has it Please Forward it to me.. Or Please paste it In the Discussion Board.,,
I've created the pseudocode But not sure about how to Implement it or which language should i use.(tyhinkin of VJ#.NET and C#.NEt)_..
i just need a small Utility and the basic idea as of yet is a 1min video.. split it into frames and watermark the frames and recompile images to video..
please help me out.. thank U.
Christin
|
|
|
|
|
Please don't cross post.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Good evening Christian,
Wnt you leave this site for 24/7 hr,days. Why?. If I would have been you, I could be enjoying with my family a lot and lot and lot more. There is lot of life apart from this computer, am I right? I said this because today is Satur Day no. So that you can spend your personal life. I am sorry if you feel bad. I would like to do it. But I cant do, because mine is small company and to become like you, I have to do a lot. Right?
May be I dont know your conditions, why you are doing this(May be only to help others, if its then its great). But its my openion. I am sorry if I said more.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Yep, it's Saturday here.
Truth is, I do 40 hours a week for CP, and I work every evening and through the weekends on other stuff. So long as I am working, I am online, keeping an eye on CP and looking for questions to answer. I work from home, CP is also my social life.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Ok. Then other than that 40 hrs will be hell for us. Specially for me. Because I ask the questions for which nobody will(may be can I dont know) answer. Most of the times I got replies from you. If not from Pete. Few times from others too. Thank you for all those replies. And Salam too.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I have a REmote Object as given Below
Public Class ClsFixRem
Inherits MarshalByRefObject
Public Delegate Sub EventHlndr(ByVal ObjOrderMsg As ClsFixRem.OrderMsg)
Public Event Evnt As EventHlndr
Public Function MessageSend(ByVal Ds As DataSet) As String
Dim Objmsg As New OrderMsg
Objmsg.OrderNo = "470"
RaiseEvent Evnt(Objmsg)
End Function
End Class
I have a Server Exe Hosting the REmote Object as given Below. It is a winform app.
Dim channel As New Tcp.TcpChannel(8085)
Dim r As New RemLib.ClsFixRem
RemotingConfiguration.RegisterWellKnownServiceType
("RemLib.ClsFixRem, Remlib", "RemLib.ClsFixRem",
WellKnownObjectMode.Singleton)
Obj1 = New RemLib.ClsFixRem
AddHandler Obj1.Evnt, AddressOf handlevent
Event Handler in Server.exe
Public Sub handlevent(ByVal ObjOrderMsg As RemLib.ClsFixRem.OrderMsg)
MsgBox("handleevent")
End Sub
Client.exe
===========
It is asp.net web application.
If ChannelServices.RegisteredChannels.Length = 0 Then
ChannelServices.RegisterChannel(chnl)
End If
Objrelib = CType(Activator.GetObject
("RemLib.ClsFixRem,Remlib",
"tcp://localhost:8085/RemLib.ClsFixRem"),
RemLib.ClsFixRem)
s = Nothing
Dim str As String
str = Objrelib.MessageSend(dsTemp)
=========
The server.exe is connected to a third system thru a tcp socket. the socket connection is opened when the server.exe starts. the connection should be kept open.
When the client activate the remote object (Remlib) and call the method MessageSend. it should fire the EVent which is handled on the server Exe. in this event handler on the server.exe sends data to the socket and it awaits the response from the third system.
The client of the application is a asp.net web application.
Now when the MessageSend method on the Remote object (Remlib) is called from the asp.net application the event handler on the server.exe is not getting handled.
and because of this i could not send the message to the socket.
Can you give a solution for this.
Regards
Pramod Kumar R
|
|
|
|
|
I need to convert some text into an integer array. How do I go about doing this?
thanks for your help,
Mike
|
|
|
|
|
A lookup table, I guess.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
String[] text=originalText.Split(" ");
int[] intArray=new int[text.length];
for(int i=0;i<text.length;i++)
intArray[i]=Convert.toInt32(text[i]);
-- modified at 13:46 Saturday 3rd February, 2007
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[^]
|
|
|
|
|
That depends on what the text contains and how you want to convert it. Do you want to convert each character to it's character code, or does the text contain the textual representation of numbers in any form, that you want to parse?
Does you text look something like this?
"123, 4, 18, 4, 11, 93"
Or something like this?
"123-4-18-4-11-93"
Or something like this?
"4A 10 f8 fe 08 0f"
Or something like this?
"4A10f8fe080f"
Or something like this?
"007, 053, 016, 024, 004, 103"
Or something like this?
"Hello world!"
---
single minded; short sighted; long gone;
|
|
|
|
|
Thank you everyone for your help. I actually meant to post this message in the vb.net section. I hadn't had to do this conversion in a long time so I forgot the function for doing it. I just rememebered today the asc() function in vb.net does this. Although I'm not sure if it would work for any unicode characters.
I'll also try a vb form of the c code you gave me Thomas. That might work if I ever have to deal with a unicode character.
I appreciate everyones help,
Mike
|
|
|
|