|
Hello,
I call a method GetCustomers() in a webservice, by clicking on a button in the related Windows application. It fetches the data from the Northwind database (Customers table), and shows it in a DataGrid in the Form (via a DataSet)
dataGrid1.DataSource = myDS; //myDS id the DataSet
//dataGrid1.SetDataBinding(myDS, "Customers");
I would just like to know why the SetBinding method doesn´t work with the client application. However if I click on "Invoke" from the Testing webservice in the browser (am using VisualStudio 2003),
the SetDataBinding method does work.
Why ?
Thanks a lot.
|
|
|
|
|
Hi,
Is there o property for a combobox, so that this control is not editable (so that you can't type text in it).
Thanks!
|
|
|
|
|
|
hello everybody,
my name is Wolfgang Mergenthaler in Flörshei/Germany. I keep having this problem over and over: My program runs nicely, except if I click the title bar in the main form. Then the following happens: The program stalls, I get the message "Keine Rückmeldung" (No response).
What can I do ?
Thanks a lot for help !
Wolfgang
|
|
|
|
|
Hallo Wolfgang.
Führt dein Programm rechenintensive Berechnungen oder Schleifen durch? Wenn ja rufe ab und zu Application.DoEvents auf. Besser: lagere den rechenintensiven Teil in Threads aus.
André
'A programmer ist just a tool which converts caffeine into code'
|
|
|
|
|
You need to explain things a bit. What does your program do?
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
Hi,
for a comboBox on a form, how can I force the user
to choose only the choices of item in the comboBox,
so he cannot input text in the comboBox ?
Thanks
|
|
|
|
|
On Keypress event Set e.Handled to TRUE
|
|
|
|
|
Set the DropDownStyle property to DropDownList
From the help "The user cannot directly edit the text portion. The user must click the arrow button to display the list portion."
|
|
|
|
|
Hello,everyboy.
Recently,I'm trying to execute managed code in the system that have no net framework.
Can you give me some suggestion?
|
|
|
|
|
You cant.
xacc-ide 0.0.99-preview7 now with C#, C, C++, IL, XML, Nemerle, IronPython, Perl, Caml, SML, Ruby, Flex, Yacc, Java, Javascript, Lua, Prolog and Boo highlighting support!
|
|
|
|
|
Install the .NET Framework! Preferrably the same version that was used to write the application. There is no other option, unless you want to spend some serious money to do it.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
This is like asking how to run a binary without the runtime environment. You simply can't.
.Net IL only makes sense in the CLR. I suppose you could write a scanner and research how to forward translate all IL to an equivient assembly on x86 but the cost of writing such a system would be astronomical. So much so it would be more costly than the application is worth. Far more costly than just installing the .Net Framework.
|
|
|
|
|
I have to ask a silly question but it drives me crazy.I'm working on VS.2005 Beta 2 and i'm desperately looking for ConfigurationPropertyAttribute and ConfigurationElement.According to MSDN Library of the product and msdn2.microsoft.com and a handful of online examples those classes are under the namespace System.Configuration.In my situation they are nowhere.I search the whole framework with Lutz Roeder's Reflector but they don't exist in any namespace.I can't find them under intellisence and the thing goes on.We are talking about a real pain in the &$@. Somebody answer i would appreciate it.
|
|
|
|
|
The initial namespace System.Configuration does not contain those classes.If you add a reference to the dependency "System.configuration.dll" (the exact casing) then... voila the missing classes.
|
|
|
|
|
I'm working with a team of developers, and we are working with several languages.
We have a program, written in C++ that gets data from several source, and assembles a large data object, filled with information that is updated every second.
On the data in this object, quite a bit of processing must be done, and more data returned.
The processing could be done in C++ - this would simply the matter quite a bit, however, I would prefer keep the data mining encapsulated in that program, and to do the processing on that data in another encapsulated program written in C#.
I need a way to transmit data from that C++ application to my C# application, and then transmit data back.
I've no idea how to deal with this, and am looking for information on where to start.
Thank you!
-- modified at 3:00 Monday 24th October, 2005
|
|
|
|
|
After quite a bit of reading, I'm thinking that I may need to use sockets to do this, with which I've never dealt before. I saw some examples of TCP based sockets and UDP based sockets - I think UDP would be the better choice. But I've still no idea how to really use sockets, or if this is really the best choice.
Can someone with experience verify this for me? Should I be using Sockets and UDP?
|
|
|
|
|
you can use the Win32API-function SendMessage or memory mapped files.
'A programmer ist just a tool which converts caffeine into code'
|
|
|
|
|
hey all,
i have just started learing .net c#....
i wish to develop a LAN messenger say jst like MSN which in which u dont have to add anyone jst as the person will b in LAN he will be online and vice versa..
there is one called IP Messenger...bt it is not having much features.....
the bsic thing wht i am lookin is a code of how to detect IP ....
do let me know abt it....its my final year project for my collage ...
if there are any links for this plz link me ...thnks
Kamaldeep Singh
|
|
|
|
|
Hello Mr.floack
I am a M.s Software Engineering student and i am interested in network related projects. I tried out your PACKET CAPTURE AND ANALYSER and set up the initial solution and added myclasses and pacanal to the soultion. After building and executing it its showing the following error
Please resolve my doubt and also clariy where can i get the file npf.sys. I checked out the site which you have mentioned in the codeproject forums but it contains some other versions of the file. Which one is best suitable for me.
THe error message is
THE PROJECT WITH AN OUTPUT TYPE OF CLASS LIBRARY CANNOT BE STARTED DIRECTLY
IN ORDER TO DEBUG THE PROJECT GO TO DEBUGGING TAB UNDER THE CONFIGURATION SETTINGS IN PROJECT PROPERTIES"
Bye
Devaraj
devauniversal@yahoo.co.in
|
|
|
|
|
Hi friends .I am working on a project and in that I need to get all the processes running on remote computer which I can but the problem is that I have to shut down one exe which I am unable to do .Any help please .
|
|
|
|
|
Hi all.
For example, Unzip tool that accepts Drag & Drop files to Windows Explorer.
I want to do same function that process Dragged files before Drop to Explorer.
How can this be done.
Thanks in advance. Sorry about my poor English.
|
|
|
|
|
something like
HRESULT SetFrequency(CComPtr tuner, long Freq);
Should I use managed c++ or directly call a dll?
I am a new bee in interop. Can you show me how to write this Marshal expression?
Thank you!!!
|
|
|
|
|
Seeing as it returns a HRESULT, I presume it's a COM object. In which case, you right click on references in your solution explorer, choose add reference, select COM and browse to the COM object. Then you'll get a class which wraps the methods that the cOM object exposes.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Ohh, it just a function not a method in COM object.
Maybe it is a good idea to first pack it into a COM and use this function as a part of COM object.
But is there a way wrap just this function?
Thanks!
|
|
|
|