Software Development Network Logo
  • VS Team System
  • Game Technologies
  • Windows Forms
  • Visual Basic
  • Visual FoxPro
  • Windows Live
  • Visual Studio
  • Visual J#
  • Visual C#
  • .NET Development
  • Smart Device
  • SQL Server
  • Visual C++
  • Architecture
  • VS Express Editions

Software Development Network >> CMick's Q&A profile

CMick

Member List

GWBasic
JesperChristensen
Sinu Ramachandran
Amol Wankhede
Bill Tang at ut
irascian
Johnnie_RSA
FunkyVB
Chez
Ivan Andrade
Silvina7407
PrabhatNigam
c.barca
fuehrer
Pharos
amnonman
Mohamed Mostafa Alex
jamz
cgn
John230873
Only Title

CMick's Q&A profile

  • Smart Device Development foreign keys in sql mobile 2005

    hi, I have created a simple database (like northwind) for mobile devices in visual studio 2005. I can set the primary key, but I can't see where is the option to set a foreign key. Thanks in advance!!! Agustin i will reply to myself... (in fact, some else told me ;) i have to use the dataset designer. there i can set the FK. But maybe there is another way... i'm a newbbie with this stuff!! thanks to you all ...Show All

  • Visual Studio Different namespace for DDEX compact framework provider

    Hi, I am writing a DDEX package that should work with both a provider for the .NET Framework and with another provider for the .NET Compact Framework. I want to have a single VSPackage dll for both data providers. The problem I have is that I want to use another namespace when I generate code for the Compact Framework provider. Under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\v2.0.0.0\PocketPC\DataProviders\{my .NET provider GUID} I have to specify the InvariantName of the .NET provider namespace, but I would really like to use the Compact Framework namespace (I think). Can anyone point me in the ...Show All

  • Windows Forms little forms in my panel

    I'm making this app in C# where I have one panel that is added to my main form's control list that uses a Fill dockstyle and has AutoScroll set to true and I have a second panel added to this first panel that is very large. Specifically 5Kx5K. So I have a panel in a panel. Alright so what I'm trying to do is add small forms to the control list of the second large panel so I can move them around where ever I want on the big panel. I have that working right now, I have a small form in the big panel which I can place where ever I want in it. The problem is, when I move this little form (to the edges of the app) so that some of it is clipped awa ...Show All

  • Visual Basic Add text to a text box from a module

    I'm upgrading a program I wrote in VB6 to VB2005 and am having a problem with updating a text box. I have a module that manages serial port communications. When data is received in the serial port buffer, it should update a text box (txtSerialIn) on a form (frmSerialInOut). Here's the code: Public Sub Handler( ByVal strInMessage As String ) frmSerialInOut.txtSerialIn.Text = strRXData & vbCrLf & frmSerialInOut.txtSerialIn.Text End Sub The text box is not updating with the text that the variable strRXData contains (checked!). This worked fine in VB6. Any help would be appreciated. Thanks. ...Show All

  • .NET Development How to send and receive XML data from web service

    I am first time to involve a public web service project. The requirement from vendor is to send XML data to our web service. Here is the SOAP format of request which the function "AddUser" having two parameters: customer: XML format and quantity: string: <xxx:addUserRequest xmlns:ltd=”http://yyyy.com/”> <c:customer xmlns:c=”http://yyyy.com/customer”> <c:customerId>259</c:customerId> <c:Name>Joe</c:Name> </c:customer> <xxx: quantity >100</xxx: quantity > </xxx:addUserRequest> I create a web service function named "addUser&quo ...Show All

  • Visual Studio Team System Representing arrays of custom types

    How would you do that with the FxCop api Can you construct a TypeNode, Parameter, etc. to represent something like MyClass[] classes;   Can you create a .NET System.Type to represent the same thing Thanks. It turns out that StructuralElementTypes is important for generics declarations. In the case of generic types, this member describes template parameters. For generic type parameters, this member describes their constraints. ...Show All

  • Visual C# Repeating Sequence

    You how you put Console.WriteLine("Press Enter to continue"); and then you put Console.ReadLine(); Now i want it to say would you like another entry Y or N if they enter Y how do i repeat the process of going back to the excution of the program....basically how do i start it over... I know it seems i am asking very basic question...but i started programming very differently than most developers... Hi, Yep, you got it right... . Your input logic must be placed in the do statement so that it would be included in the loop... cheers, Paul June A. Domag ...Show All

  • .NET Development Error Handling in Unsafe Code

    Hi, I have small problem, Actually I dont know how to do error handling in unsafe code, can some one help me in this regards, I struck in my project, sorry to ask for earlyest replay. What kind of errors do you want to handle Can't you do it the same way you do in "safe" code - handle the appropriate exception ...Show All

  • Windows Forms Define an interface having enum ?

    Hai .....,            I would like to define an interface in such a way that any class implementing it should define an enumeration 'Operations'. How do i do this. I tried this way, is it correct public interface IOperations {     enum Operations : int {}; } public class myClass : IOperations {    //some operations    public&n ...Show All

  • Visual Studio Problem installing .NET Framework 2.0 Beta 2

    Hello: I hope that I'm posting to the correct area... I'm trying to install Visual C++ 2005 Express Beta 2 and the installation process fails.  The failure occurs after the download is complete and the installation of the .NET framework has commenced.  No error information is displayed, other than the notificaton that the error has occurred.  I've turned off Spybot, for what that's worth.  Any ideas on how to proceed Thanks! Hi Dave Im hoping you can assist me too....except I'm not as PC savvy as the previous posters & you may have to direct me through to the logs. I hav ...Show All

  • .NET Development bug in Int32.Parse

    In Visual Studio 2005, the following throws a FormatException and it definitely shouldn't.  The same code works fine in Visual Studio 2003. This is the version that I am seeing the problem, running on XP:     Microsoft Visual Studio 2005     Version 8.0.50727.42  (RTM.050727-4200)     Microsoft .NET Framework     Version 2.0.50727     Installed Edition: Professional int x = 0; x = Int32.Parse("0")        // throws FormatException x = Int32.Parse("00")       // works fine x = Int32.Parse("000") & ...Show All

  • SQL Server Strange problem with DataReaderSource

    Hi there, I have a very strange problem with DataReaderSource. I'm trying to get data from InterBase table. I created a Connection manager and the connection was successful. The SQLCommand in "Component properties" tab is a simple "select * from <table_name>". When I switch to the "Column mappings" tab, only the first column from the table is displayed. Pressing the "Reftesh" button resulst in the following error: Error at Data Flow Task {DTS.Pipeline]: The "output column <column_name> has a length that is not valid. The length must be between 0 and 4000. When I go to the "Input and Output Properties" tab, the Dat ...Show All

  • Visual Basic Interface

    Hi I have an applicaion made upof many classes, some of those implements custom funciton. Until runtime i would not know if the class implements that function function ---------------------------------------------- public class myclass implements mycontrol,iLog public function LogIt()as Boolean End Function End Class ---------------------------------------------- public class myclass2 implements mycontrol, iLog public function LogIt() as Boolean End Function End Class ---------------------------------------------- public class myclass3 implements mycontrol End Class Like given above I have to create a class at runtime ...Show All

  • Visual Studio Team System Activesync 4.1 interfering with Load Testing

    We've been performing loadtesting for a while.  Recently, I upgraded my Dell Axim x50v to Windows Mobile 5 and Activesync 4.1. Ever since, I've not been able to run a load test unless I unplug my cradle and reboot. I'll get "Failed to Queue Test Run 'bsxxxxx@LHxxxxx 12/5/2005 1:49:39 PM' with id {ba36df6c-78d7-4327-bf83-ac26f035d8b1}: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond" error after about 5 minutes of the load test listed as "Idle" in the Test runs window. ...Show All

  • Visual Basic Calling a Java Class from VB

    Hi, I am a new bee for VB. I wanted to know how to use the java Class from VB6. Coud any one help me. I am getting error message for the following code. When I run this code I am geetign the following error at Line 4 as ( Runtime Error '91': Object variable or Block variable not set. ). This working fine in VB .Net. But in VB 6 it is not working. I tried in different PC also having the same error.         Dim retValue As String       Dim Y As Object       Dim X As JG.JUtil   &n ...Show All

©2008 Software Development Network