|
-=gix=- wrote: I know the layout of the S-record file. But I have no idea how to convert this to a binary file
What part are you stuck on? You know the format of the input file, do you know how to read it? What is the format of the binary file? (You didn't mention that) And once you know the format of the output, do you know how to write that?
There is also the translation aspect, do things need to be re-ordered between input and output? Or is the translation a direct text based data to binary based data?
|
|
|
|
|
I know how to read the S-record, but the problem is that I have no idea how a binary file looks like (the format). If I know this, I will be able to write it.
further information:
The binary file is used for a MCU (Micro Controller Unit) on an ARM processorboard.
|
|
|
|
|
-=gix=- wrote: but the problem is that I have no idea how a binary file looks like (the format).
Then you need to find out the format before we can help. There are thousands, if not millions, of possible binary formats.
|
|
|
|
|
I did some searching and I found out that I have to convert the data string from the S-record (in hex) to a data string in binary and then write it to the memory and a file.
|
|
|
|
|
Hi,
I have a windows application in which the user selects a folder. I want to share this folder and make it availabe to all other users on the network with full rights. Can any body tell me how to do it? I want it done the .Net way not using the Calc.exe or System.Management or any other crude way?
I have googled very much but no +ve response.
Waiting for your reply...
Regards,
Wasif Ehsan.
|
|
|
|
|
How to get the text that user keyin in textbox in other window form to another form.Like from form1 to form2.
The text will increase like ++1.
How can the text apear/console in form2 one by one.
And have a button in form2 to delete which text user want to delete.
Tq very much. Need help here.
|
|
|
|
|
krajah1984 wrote: How to get the text that user keyin in textbox in other window form to another form.Like from form1 to form2.
You could read this article on passing values between forms[^]
|
|
|
|
|
How to compare the password we have keyin in (notepad/simple database) with user keyin in the textbox in window form.
Another form that have two textbox:
One for user key in old password
Another for user key in new password
If user klick button it will change the password in the notepad to new password that user key in second text box.
Need help here.....
|
|
|
|
|
Hi,
You can consider the password as a normal text. Means you can compare the passwords typed in two textbox as same as how you use to check plain text typed in two textbox.
if (textBox1.Text == textBox2.Text)
{
MessageBox.Show("hello");
}
Thanks and Regards
Balaji
|
|
|
|
|
Question 1:(form1)
How to compare my default password that i save in notepad.
How to compare with the password that user input in text box.How to call the password that have key in the notepad.
Question 2:
In another form I make to textbox one for user input old password and another textbox for user input new password.The new old password will be replace by the new password in the notepad.After this it will compare with the new password in the form1
|
|
|
|
|
Can you tell me what all will be in your notepad. Will it contain only the password ?
|
|
|
|
|
|
it doesnt work like this.. =|
is there any other way?
|
|
|
|
|
Hi
I'm trying to add a button to my office Word 2003.
I managed to do it in outlook 2003 but for some reason it doesn't work.
I think the problem is in the OnStartupComplete method.
Here's the method
public void OnStartupComplete(ref System.Array custom)<br />
{<br />
CommandBars commandBars;<br />
commandBars = applicationObject.ActiveWindow.Document.CommandBars;<br />
<br />
try<br />
{<br />
btnGetEMailStats = (CommandBarButton)<br />
commandBars["Standard"].Controls["Send To Group"];<br />
}<br />
catch<br />
{<br />
btnGetEMailStats = (CommandBarButton)<br />
commandBars["Standard"].Controls.Add(1,<br />
System.Reflection.Missing.Value,<br />
System.Reflection.Missing.Value,<br />
System.Reflection.Missing.Value,<br />
System.Reflection.Missing.Value);<br />
btnGetEMailStats.Caption = "Send To Group";<br />
btnGetEMailStats.Style = MsoButtonStyle.msoButtonCaption;<br />
}<br />
btnGetEMailStats.Tag = "Send To Group";<br />
btnGetEMailStats.OnAction = "!<AddinExample.Connect>";<br />
btnGetEMailStats.Visible = true;<br />
btnGetEMailStats.Click += new<br />
_CommandBarButtonEvents_ClickEventHandler(<br />
btnGetEMailStats_Click);<br />
}
|
|
|
|
|
By the way, I created another Addin project according to the article here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;302901
and chekced the Excel, Outlook, word and PowerPoint applications.
The thing is, only in the word application the button wasn't created.
Any idea?
|
|
|
|
|
Hello..
How I can create COM+ application in Component Services->Computers->My omputer->COM+ Application->[My COM+ App] from my own program?
How I can run commands 'Shutdown', 'Start' and 'Disable' for my COM + Application?
Is it possible?
Please, help me if somebody know..
|
|
|
|
|
I have multi dimensional array, which has to be produced in report (.rdlc)
microsoft's reports
i hope i should use object data source, but i am unable to make it up... (ARRAY) i know how to do it with variables...
kindly help me out
|
|
|
|
|
hello,
i have made a window service for my some xyz purpose and its working fine.but the problem is that
InternetExplorerClass IE = new InternetExplorerClass();<br />
IE.Visible = true;<br />
IE.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(IE_DocumentComplete);<br />
isDocumentComplete = false;<br />
object empty = "";<br />
IE.Navigate("www.google.com", ref empty, ref empty, ref empty, ref empty);
when i'm using this Code with Window Service this code is not working even IE.navigate function is not navigating the site or not openning the IE browser..while when i use use this code with simple asp.net with c# project
its working fine.
suggestion are most welcome.
thanks and regards
Amit Agarwal
Dotnet
|
|
|
|
|
I use WinForms Microsoft ReportViewer in local mode.
I want to use C# syntax in report expressions.
How to use C# instead of VB.NET syntax ?
I'm thinking about the following approaches:
1. Create pre-processor which converts expressions in RDL file from C# to
VB. NET
2. Replace all expressions with a method which takes C# expression as string
parameter, evaluates it returns result.
Any idea how to implement this ?
Where to find any samples of C# expression evaluator or C# to VB .NET expression converter ?
Andrus.
Andrus
|
|
|
|
|
Hello,
The business class of my application caters to both, a web service and the windows UI application. One of the business class, loads an assembly dynamically and invokes a particular method on the type in that assembly. This works fine when the call is originated from Windows UI app. but when I call the same method of BC from webService I get an exception of "Method not found" when the method is invoked after loading the assembly dynamically.
Not understanding the reasonong, I tried various things. One of them was using remoting. I created a marshallar class (a class inheriting from MarshalByRef Class) and wrote an Invoke method in that. In the constructor of Marshallar I created the handler by creating instance of type from assembly which I wanted to load dynamically. In the invoke method I wrote type.InvokeMember. By loading this marshallar assembly into a new AppDomain, my webService call completed without any exception !!!
but now I have another problem, this particular assembly is used for processing of heavy amount of data and when the method is invoked as a remote method call, it takes too much of time and the performance is getting hampered greatly.
Can anybody tell me why a remote call succeeds and a local call fails in case of web service ?
Thanks in advance.
|
|
|
|
|
Hi,
I register a custom url handler (abc://) in registery in HKEY_CLASSES_ROOT,
it can now work in IE if I type "abc://example" in IE URL,
it activate my stuff, but if I paste the url into MSWord,
it won't highlight as other url link. What else should I
perform in order to get my custom link highlighted in MSWord ?
Thanks
|
|
|
|
|
Hi all
I'm doing a C# function retrieving a line of text from a Win32 edit box.
Platform SDK says the folowing: before sending the message, set the first
word of this buffer to the size in TCHARs, of the buffer. For ANSI text, this is the
number of bytes; for Unicode text, this is the number of characters.
How to do that with StringBuilder? I tried to set
StringBuilder ItemText = new StringBuilder(256);
//ItemText[0] = 250; //I'm not usre of that!!!!
IntPtr lenOfString =
Win32Api.SendMessage(
_hWnd,
EM_GETLINE,
IntPtr.Zero,
ItemText
);
but it doesn't work even if for example I set ItemTex[0] = 'a'
with a caracter.
How to handle dimension I want into first character of the stringBuilder
so that WinApi read it correctly?
Regards
ManuStone
-- modified at 4:48 Tuesday 27th March, 2007
|
|
|
|
|
C# is Unicode. I believe you'll find it's the length of the string * 2.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I need to export data from a list view in a Windows Form, to an excel sheet or to a notepad..
Can anyone tell me how to do it??
Thanks for your time and help.
-Seema
|
|
|
|
|
Hi,
I have a requirement as follows.
The Page1.aspx page is having the following input controls.
User Name, account number and date of birth.
The user enetered the information in Page1.apsx page and navigated to Page2.aspx. Now the user is coming back to Page1.aspx. How can I prepopulate previously entered data in Page1.aspx. (Where Can I save the data when the first time entered to prepopulate while coming back?)
Please Note: I should not use Sessions.
Thanks in Advance,
Reddy
rr
|
|
|
|