|
Hi and thank you for this great forums collection,
I'm debugging a large scale source code and the debugger just jumps, seems like randomly, from one line to another between the two methods(one method calls the other).
can someone please explain me whats going on?
Lior S
The world is in your hands.
|
|
|
|
|
Is your code multithreaded ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Would like to avoid a loop of string compares.
|
|
|
|
|
Without any further information I'd say a HashTable or probably this UniqueStringList[^].
Robert
|
|
|
|
|
Hi
Is there any way to list all the registered assesmblies on a system? I mean those assemblies which we register using regasm?
(Please note: I don't meant registered assemblies in GAC. I know how to list shared assemblies using gacutil)
Regards
Kamal Chauhan
|
|
|
|
|
Dear all,
i have developed a multilingual application using C#.NET in VS.NET 2003.
Here i am using the resource files to get the required data based on the selected Culture.
The display details are perfect for labels, buttons, richtext boxes etc...
But, in the text boxes, messages boxes, Display name of the form & menu names only squares are displayed for some special characters based on the selected culture.
Did anyone face the same problem. Kindly guide me to achieve the same so that i can display the details based on the selected languages/cultures in all the controls
Best regards,
Abhilash
|
|
|
|
|
I don't know much about this but my suggestion is
you install that cultures font on your system
or
check for font embedding technique
cheers,
Akhilesh Yadav
|
|
|
|
|
:-DI HAVE COMPLETED MY VB.NET WIN APPLICATION(consists of crystal report nd ado.net).
I HAVE ALSO GOT AN '.exe' FILE FOR IT.
NOW I NEED TO RUN THIS EXE AT ANOTHER PC
PLS SUGGEST THE REQUIREMENTS TO INSTALL IN THE OTHER PC
IS JUST DOTNET FRAME WORK SUFFICIENT
thanks in adv for ur reply
ramana mohan
|
|
|
|
|
|
DON'T SHOUT.
You need crystal reports runtime as well.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi friends ,
Please let me know how to disable shortcut keys to desktop in a windows application...?
for example : to disable ctrl+alt+del;alt+tab etc...
Plese let me know if u have sollution for this...it would be a really great help..
thanks in advance.
Live Life King Size
Asif
|
|
|
|
|
|
Hi All
when using some Component writen in Dotnet
i succesfully get result while using it from dotnet application ,
but getting the error while using it from a vb6 application.
Cannot perform '<=' operation on System.DateTime and System.String
the component is getting xmlString and return a string
and i using a .tlb file referenced to the vb6 application
the wierd thing is (and i checked it several times on several computers)
that when dotNet Framework ver-1 installed then it work fine
but, when dotnet 2 installed then i get the message : "Cannot perform '<=' operation on System.DateTime and System.String"
what can couse the difference between the senarious.
anyone ?? need a help here...
thanks, guy
have a nice day, guy
|
|
|
|
|
guygo wrote: what can couse the difference between the senarious.
Weak typing in VB.NET has allowed this to work in some instances, as VB casts it for you ( not necessarily to what you were hoping )
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have .net remoting service which is running on .net framework 1.1 and I am trying to write a client application that consumes this service using .net framework 2.0 this time. Until now everything worked fine except one case, when I am trying to access a MemoryStream received from the remoting server.
The definition of the function from server interface is something like this:
MemoryStream GetPicture(some parameters);
When I am calling the function from the server I get back a reference (MemoryStream inherits MarshalByRef), but when I'm trying to access any of its functions nothing seams to work. What I get is a time out exception, but if I go deeper into the inner exceptions everything is caused during the deserialization process when the CLR tries to call some functions of the MemoryStream class (for example CanSeek which is a public property) that it knows are public, but the server don't respond.
The service is developed by a third party and is not possible to ask for a .net 2.0 version, or to add another function to their interface which should return a byte[] instead of MemoryStream, which I think that would be more optimum for perfomance too.
The single solution that I am seeing now is to write a .net 1.1 component which should consume this service and return at its turn something else for the 2.0 application that can be consumed more easily.
Have somebody other idea that could help me out of this situation, to avoid this 1.1 component?
Thank you
|
|
|
|
|
i have a problem concerning the windows service and message queue,
i want to make two services communicate with each other using MSMQ
the problem is that one of these servics is an MFC service and the other
one is .net service, when i normnally used the MSMQ the MFC service cant send messages to the .net service but when i use an MFC windows application
with the same code it sends the message normally
So any suggestions or any other means of communication can be achieved between these two services ?
MiNa
|
|
|
|
|
If a components installed in com+ have to be used in ASP on other machine we do it by exporting proxy to the
ASP machine. Here no code change is made even if the Components are in local(in future) or remote.
But in .NET if a class has to access an assembly in other machine, remoting is used.Here the code has to be changed to
do accept remoting. In future if the remote assembly is brought to local machine, the code has to be changed again.
Is it a drawback or is there any other way to do it.
Thanx in Advance
|
|
|
|
|
Hi
I'm trying to make RichTextBox display other characters than it contains in its buffer (i.e. Text property).
For example I want to display all occurences of 'c' as 'v'..
The first approach is to add a second buffer for keeping the original text, but there's a lot of work to do with implementing edition functions and synchronization beetween this buffer and RichTextBox.Text property.
So I was thinking about a workaround, for example overriding the WndProc to process the text (replace all 'c' with 'v'), launch the PAINT method and then replace the modified text with the original one. Unfortunately I'm unable to access the Lines property of RichTextBox in WndProc function. Furthermore changing the Text property launches some events (for example Text_changed) which also call the Paint function, which apparently leads to paint events loop..
Is there a way to make this work?
Maybe someone could find a better solution to my problem.. I would be very grateful
Some other questions:
- Why is the Lines property read only? Is there a way to change Text in RTB using this property (for example Lines[i].append or Lines[i] := smth)?
- Is there a way to cancel an event that has been already launched and is pending in the event handler's loop?
Best regards and thanks for your help
Peter
|
|
|
|
|
Hi.
I have a question regarding setting printer properties programmatically.
Here's what needs to be done.
I need to set properties of the Ricoh multi-function printer to have default color set to 'black & white' when user logs into the machine (printer is on a network).
The problem I have I don't know if it's possible. If it is, and the program/script can be created I will call it from a batch file, which runs every time user logs in.
Is there anyway I can use .NET languages (or any other) to set Color to 'black & white' by default for that printer. We are trying to eliminate color printing especially when it's not needed.
Thank you.
|
|
|
|
|
It is possible - there is a windows API call (Setprinter) that can be coded to set that setting, but I don't see how you can prevent the user just going to printer settings and switching it back to colour...?
|
|
|
|
|
Users are remotly connected so they can't go to the printer.
Do you have any examples of that API?
I appriciate your respose.
Thank you,
|
|
|
|
|
I have added this to the very latest code of the PrintQueueWatch component - it will be in the new release whenever the project gets updated here[^]
e.g.
Dim MyPrinter As New PrinterQueueWatch.PrinterInformation("HP Laserjet 2")
MyPrinter.Colour = False
|
|
|
|
|
How to generate a Stored Procedure Reporting in Visio.
I tried using the Database Model Diagram, created a Datasource & selected a Stored Procedure.
It showed empty results.
Please let me know what is the use of it?
Jassbond
Persistent Systems, Pune
9890596778
|
|
|
|
|
I want to turn off
computer in my pograming
how i can do this
have a nice day/
|
|
|
|
|