LiquidBlaze's Q&A profile
.NET Development Implementation code in Interface
Why can't I put code in an interface There are some occasions when I want an interface with some code in it, but it's really frustrating that you can't do this. because then it isnt an interface. . . it is a class. An interface is just that, the definition of an interface. If you get a moment, give a simple example of something you are trying to model and lets see if we can't hash out a design. ...Show All
Visual C# Serial Port Readline() method
Hi all, Im currently developing an SMS interface. I have managed to successfully read the incomming messages using hte DataReceived event and the looping through the lines. However, the loop does not seem to exit properly, but its not looping either. Here is my code private void OnCom4Receive( object sender, SerialDataReceivedEventArgs e) { string x; SerialPort pt = ( SerialPort )sender; //Trap the received mes ...Show All
Windows Forms Exception of type ExceptionCollection thrown when a form is attempted open from VS2005's IDE
The Exception : Exception of type ' System.ComponentModel.Design.ExceptionCollection ' was thrown when the form is attempted to open from VS2005 IDE. The form contains an implementation to allow a Host Designer at run-time. Someone knows a solution to this issue . The form can't be opens until the VS2005 is closed and the solution is re-opened and rebuild process is executed again . Thank you in advance. ...Show All
Visual C++ exe that modifies its own resources
Hello, I need to create an executable file that can modify its own resources, especially add some. (I use VC++ 2003) I'm using the BeginUpdateResource(...), UpdateResource(...) and EndUpdateResource(...) functions. It works fine when I use them on any exe file. But when I try to do it on the exe that call this functions, instead of modifying it, it creates a TMP file (like 'RCX719F.tmp'). This TMP file is exactly what I expect the exe to be. So ...Show All
Visual Studio Express Editions System.InvalidOperationException in System.Windows.Forms.dll
Hello, I use to do programming long time ago, in the DOS era, survived TRS80, Tiny Basic, GWbasic and Quickbasic. Recently I managed to pickup programming Basic style again with Visual Basic Express. After installing it and playing a bit around, I tried to find an initial setup for a Local area network packet sniffer. Google came up with a package called PackMon.NET and Sniffer.NET from v2softwares http://www.1vbstreet.com/vb/scripts/ ...Show All
.NET Development Updating (Refreshing) Dataset Source Info
All, Can someone send me a clue on how to update a DataSet in visual studio 2005 after making changes to the stored procedure it is attached to (adding new fields, etc) There seems to be no way to do this that I can find without completing deleting it and starting over. Em, help. Joseph Just so it's clear...It's not the data records I am trying to refresh, it's the connection itself. As mentioned, I am u ...Show All
Visual FoxPro VFP 9.0 SQL worthless under a non client server network?
Hello everyone; I have posted this problem here and also on UT and no solution yet. I have a small network with a 2003 server, and XP pros. I am running vfp 9 select * from products where status = "S0000" takes apx 10 seconds when run over the network. When running this locally, it takes only a fraction of a second. The product table contains 100,000 records, and the result of the SQL command is just a few hundred rec ...Show All
Smart Device Development Web services
What is web service Hello, I am sorry but this forum is specifically for Device Emulator with Visual Studio 2005. You may want to search for your queries on http://msdn1.microsoft.com/en-us/default.aspx -Thanks, Mohit ...Show All
Visual C++ true visible window
hi! i'm using a multiform aplication. if i have a lot of child windows open, how can i make a window really visible. i'm asking this because if i have i large window in front a small window, the small window is not really visible. thanks I don't understand your question! If you have a larger window already infront of a small one, you will see the large one only. I am not sure what you are trying to do. Thanks, Ayman Shoukry &nb ...Show All
Visual Studio Team System Registration of a custom datawarehouse adapter?
Hi, I used the extensibillity kit and found documentation on how to build your custom Datawarehouse extensions. So I decided to build My own Custom Datawarehouse adapter and a schema, but I can't find any documentation on how to register my adapter with the datawarehouse. Does any body know how to register the adapter and the schema so It will get picked up by the next run of the DataWarehouse Thanks, Marcel I found the solution myself, bu ...Show All
Windows Forms Visual Inheritance - Deriving From Open Constructed Form
Hello Everyone: I have an open constructed form that I want to use as a base form. It looks something like: public partial class BusinessFormBase <TBusinessObject> : Form{...} So far so good but when I try to derive from this form in order to create a closed constructed form, everything compiles fine, but I get the following when opening the designer for this form: The designer could not be shown for this ...Show All
.NET Development about Metadata Physical layout(#Blob)
In the PE file, there is a #Blob Heaps, which I do not understand what it is. And I read the book which say If the first 1 byte of the "blob" is 0 bs , then the rest of the blob contain the bs bytes of actual data. etc.... I really do not understand what that means. Does it means that if 0XXXXXXXX (2) , it has XXXXXXX(2) bytes of data then 1st 2 bytes are 10bs. Does it mean that 10XXXXXX YYYYYYYY (2) will have XXXXXX time 256 a ...Show All
Software Development for Windows Vista Install Issues - "a disk read error occurred"
When the Vista install reboots the machine I get the following error. a disk read error occurred. I have tried several different drives and still get the same result. Any ideas unfortunately I gave up. I was running an old box and figured motherboard was too old. It was a pII with 1gig ram and a 60 gig drive. It runs windows server 2003 just fine so I thought I would give it a shot. I tried several times with different disk partition conf ...Show All
Visual FoxPro Memory access error
I need some help... When closing our application we are getting the error message "The instruction at "0x02245e30" referenced memory at "0x02245e30". The memory could not be "read"". We don't know what is wrong... any suggestions on how to fix this Any input would be really appreciated. >> Where do I type this "Set to null" instruction D ...Show All
Visual Basic stop watch using vb.net 2005
how can i create a stop watch using vb.net 2005 i am performing a data extraction job using windows forms and want to display time elapsed on the form. how can i do it Thanks I tried your code and it worked fine. Of course I don't know how you declare stopWatch, tmrMain and what CreateReport does; so I just created standard components and commented out CreateReport. It is strange that you did not hit a break point in tmrMain_Tick. Did y ...Show All
