vimalpatel2u's Q&A profile
Visual C# custom appdomain, crossing .net versions, "Type is not resolved for member <member I'm loading>"
I'm stumped! I have an app which loads assemblies into a seperate app domain. it is written in 2.0. I have the assemblies I'm loading which were built in 1.1. I have a custom interface library which was written in 1.1 signed and installed in the GAC. I have a custom appdomain loader (marshal by ref object) which was written in 2.0, and uses the interface library which was done in 1.1 to pass a type back to the default appdomain. It ...Show All
Visual Basic thanx
What I'm trying to do is have a text box for a user to enter a name into, then extract each letter from that box in order, turn letters into numbers, then screw with that to come up with an apparently random number for later verification (see if the name matches the number). My question is- how can I get each number into a seperate variable, then change it into a number (and all letters be pre-defined, so it's always the same number for each let ...Show All
Smart Device Development how to run a cab installation on ppc from pc ?
with rapi i saw a statement to run exe file but the question here : how can i run a cab file (installation file ) from ppc , is there a methode to do like that thanks You can not really run anything but EXE. You can't "run" CAB file, you can only run EXE which is associated with .CAB, which is CE’s CAB installer - WCELOAD.EXE. That is, as you click on a CAB, OS does not run it. It looks up which EXE is associated with .C ...Show All
Windows Forms Terrarium 1.2 Server Available
After a (really) long delay, the Terrarium 1.2 Server is available for download. Head on over to the <a href="http://www.windowsforms.net/terrarium/download/ tabindex=10&tabid=42"><b>Downloads</b></a> area to snag it. Now included is a configuration tool that ...Show All
Windows Forms event on record change
I have a form with a binding navigator to scroll through a number of records. Each record shows several numeric fields. There are also a couple of calculated fields on the form. When a person clicks on the binding navigator to change records, I would like to fire the code which will recalculate the calc'd fields based on the values of the new record showing. I can't seem to find the event to put these calc lines in. Can someone direct me Thanks! ...Show All
.NET Development SerialPort Class Help DataReceived
I'm using the DataReceived from the V.2 .NET SerialPort class. I'm communicating with a microprocessor board and i can write to it fine. I'm having trouble reading from it. It sends a single byte at a time without an EndCharacter. I can see the byte being sent on my oscope and with an older Turbo Basic program it does read the byte. My problem is that my DataReceived event isn't being thrown. I have my ReceivedBytesThreshold set to 1 and i still ...Show All
Visual Basic Events: why use them instead of member call coupled with DoEvents()?
Hello. I've been reading up on Events, and don't see what they offer that just doing a member call, followed by DoEvents() would not do for you When I indicate an event, the function that indicated it must wait anyway for the event to return control. And DoEvents() would accomplish the same thing of seeing if, for example, the user clicked the 'Cancel' button if I was to call a function, then DoEvents() after it, then checking for cancel button ...Show All
SQL Server Setting SQL server Express maximum memory usage
Hi All, How can we set the maximum memory usage for SQL server Express I have tried setting it in Microsoft SQL Server Management Studio Express - Memory option, but it didn't have any effect.A problem I'm facing now is that the sqlservr memory usage keeps increasing and eventually slows down my application. Is there a way to set the upper limit or clear the unused memory Thank you. Regards, Lawrence sql ex ...Show All
Windows Forms Custom methods and the repeater control
I have a public function in my form behind that does some string manipulation when my repeater control is populated based on the value from the database. What should my binding expression look like I tried the following, but I kept getting errors. <%# CustomMethod (DataBinder.Eval(Container.DataItem, "strValue")) %> Any ideas ...Show All
Windows Forms "AppName.appref-ms" on Start Menu?
I've been using ClickOnce successfully for a few weeks. Today a client installed my application using ClickOnce and the Start menu has "MyAppName.appref-ms" (and a Icon) rather than my normal "MyAppName" (MyApp Icon) shorcut on the Start menu. This is the first time it's happened, I've uninstalled/reinstalled with the same results. Any clues TIA, Rob Linton XP Pro SP2, installing as Administrator. Hi Saur ...Show All
Visual Basic VB6.0, ShellNotifyIcon
Why the icon not displaying in the status bar when i try to use loadpicture directly. And i dont want to use form or picture box to get the picture/icon. 'General Declaration Private Type NOTIFYICONDATA cbSize As Long hwnd As Long uId As Long uFlags As Long uCallBackMessage As Long hIcon As Long szTip As String * 64 End Type Private Const NIM_ADD = &H0 Private Const NIM_MODIFY = &H1 Private Const NIM_DELETE = &H2 Priv ...Show All
Windows Forms I search Source code of terranium
If anyone still has any version of the .Net Terrarium Server and/or Client Source code OR SIMILAR APPLICATION that use P2P like Terrarium, I would apreciate it greatly if you would contact me please: vgta_@hotmail.com Sssa2000. to see  ...Show All
Visual C++ Calling C from C++/MFC in Visual Studio 2005
Hello, I have Win32 C code that compiles fine with VS 6.0. I'm porting the code to VS 2005 to be called from an MFC application. The code compiles fine, but I'm encountering a linker error, LNK2019 when I add a call to a specific function from the OnInitDialog function. I have other calls to other C functions in OnInitDialog and they do not cause this error. I'm compiling with the /TP flag and the C code in question (which causes the fai ...Show All
Visual Basic Transferring data from FoxPro dbf to Sql
Dear All, I need all your help urgently. I wanted to write a small piece of vb code to sychronize a few FoxPro dbf tables to SQL tables that having the same structure or at least a few fields that i selected. I had tried a code which I found on the net that running row by row and column by column to update the SQL tables but this code is too slow. In my dbf table it contains around 3000 records at least. Please help. Thanks in advance. Re ...Show All
Windows Forms Converting Word document into xml?
Hi I have this WORD document with some text, formatting and images. Now, I want to save the content of that document into an xml. If it were a simple text document then I know how to approach it. Since, image is also involved in it,&n ...Show All
