Software Development Network Logo
  • Visual Basic
  • SharePoint Products
  • IE Development
  • Smart Devicet
  • SQL Server
  • .NET Development
  • Visual C++
  • Microsoft ISV
  • Windows Forms
  • Visual C#
  • Windows Vista
  • Audio and Video
  • Visual Studio
  • Game Technologies
  • Visual FoxPro

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

curt2go

Member List

NeederOfVBHelp
Gordon Henriksen
Gérard62
Flamin
Sushhant Duggal
R.Tutus
Sammy1971
Jakke2
.net sukbir
rmgjohnes
Pavel Nechai
InquiringMinds
dbdog
e_LA
Anurag Srivastava
ernisj
Moksi
Sean McLellan 360
Nightmare_BE
WinFormsUser13232
Only Title

curt2go's Q&A profile

  • Visual Studio Express Editions one last question with a boolean

    well i have one last question on my program like before. the idea of it is to type in a child's last name and it will read from a txt file with all its info and bring out the info in a rich txt box. otherwise it will say "child not found". well right now no matter what i put in im getting "child not found" Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim strChildFirstName As String Dim strChildLastName As String Dim chrChildGender As Char Dim strParentLastName As String Dim strParentFirstName As String Dim chrParentRelationship As Char Dim decAnnualIncome As Decimal Dim intParentAge As Integer Dim intNumberOfKids As Integer Dim Readfile As System.IO.StreamRe ...Show All

  • Visual Studio Express Editions SQL database connection

    I've just downloaded VB 2005 Express and SQL server 2005 express. Built SQL database and trying to connect and open DB.I was trying different connection strings, OLEDB and SQL connections,reinstall Sql server and VB, but have the same massage:"Cannot open database.Login failed". When I bind DB in application, everithing is OK.First guess that something is missing in the code.But maybe Express Edition is not capable to deal with SQL DB Public p_conFirst As New SqlConnection() p_conFirst.ConnectionString = "Server=bk\;SQLEXPXESS;Database=First;Trusted_Connection=True;" p_conFirst.Open() 'error 4060 Maybe somebody has answer Thanks,Boris Change th ...Show All

  • Visual C# Event NullReferenceException

    I am getting a NullReferenceException when I fire an event. I know I should check for the NullReferenceException before I fire the event, but when I do that the event does not fire at all (obviously). And the event is suscribed to in another class. Any help would be appriciated, here is my code: public class Main_Configuration : System.Windows.Forms. Form { public delegate void DebugEventHandler ( string debug_message); //declare the AE Button Event Handler public event DebugEventHandler DebugMessageToRuntime; private void DIOLabel_Click( object sender, System. EventArgs e) { this .DebugMessageToRuntime( "Entering DIO Configuration Form" ); } } ...Show All

  • Visual C++ creating component in ATL server while accessing for .net client giving error DISP_E_BADVARTYPE

    Following is my ATL server com component declaration. interface IClientInterface: IDispatch { } interface IClientFind : IDispatch { HRESULT GetClient([ out , retval ] IClientInterface** pInterface); } library ClientLib { importlib ( "stdole2.tlb" ); [ uuid (225F77EC-A8AA-414e-A497-51363F2AC401), appobject , ] coclass ClientFind { interface IClientFind; } ///////////////////////////////////////////////// IClientFind interface implemention class /////////////////////////////////////////////////// STDMETHODIMP CClientFind::GetClient(IClientInterface** pInterface) { IClientInterface* pClient = NULL; HRESULT hr = CClientInterface::C ...Show All

  • Visual Studio Express Editions Help! Can't open projects or start new ones.

    I'm trying to set up VC++ Express 2005 on my laptop. The first time I installed it, everything worked fine. I could load the project I was working on and run it in debug mode. However, then I made the "mistake" of trying to open the project from another user account (both are at administrator level) on the same laptop. VC++ immediately crashed on me. Going back to the user account that I installed VC++ with made no difference. Now I can't: 1. Open an existing project. (It will crash VC++.) 2. Start a new project. (It will say "project creation failed.") I had the following installed, in this order: 1. Visual C++ Express 2005 2. Windows Platform SDK 3. GLUT So far, I've tried to unstall everything in the opposite order a ...Show All

  • Windows Forms Is Form Height limited?

    Why isn't possible set Height value for windows form greater than 1044. When I write bigger value is automatically repaired on 1044. Thank's for any idea. Yes I thought that it also depends on the screen solution but I guess that if you read values heigher than the height I was wrong. Maybe you could override the form's WndProc and capture the WM_NCCALCSIZE message and somehow change the bounds of the form but I don't know if this will work. ...Show All

  • Visual C# File Monitoring

    Hi all, Just wondered how I monitor files in my system(opening, writing and cet.(something like AV)). I will appricate a sample code. thanks. Hi, you can use the FileSystemWatch to look for events occuring in the file system. See: http://msdn2.microsoft.com/en-us/library/ch2s8yd7(VS.71).aspx for more info and tutorials. Mark. ...Show All

  • Community Chat Zune and the iPod

    I've been following the Zune announcements fairly closely here at work. If you follow my blog, you'll see that I'm pretty passionate about media technologies, and recently went through the pain of migrating away from iPod/iTunes and onto Yahoo Music/Gigabeat S (Portable Media Center). Here the blog category where I talk about it: http://blogs.msdn.com/joemorel/archive/category/13772.aspx Now Zune is in the mix. It looks pretty neat, but I'm not sure if people are really going to go for the whole WiFi thing. I'm just not sure that I want to listen to the same music as the person sitting next to me on the bus. What do you think well remember, some of it may be based on customer requirements having a Wifi is a cool option ...Show All

  • Visual Studio 2008 (Pre-release) SecurityAccessDeniedException was unhandled - Access is denied.

    Hi All, I got the following error message when accessing my WCF service from a windows application. The WCF service call the datalayer to perform INSERT in my databse. I dont have any clue where i am going wrong. can nyone pls help me a way out System.ServiceModel.Security.SecurityAccessDeniedException was unhandled Message="Access is denied." Source="mscorlib" StackTrace: Server stack trace: at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel ...Show All

  • Visual C# accessing information from a website using .net

    Hi, i want to do an application that access some information from different websites and store it in a spreadsheet. usually these information is displayed on the corresponding websites in a table format. how can i do this using .net ( C# ) also, this application should be run automatically ie without any user trigger . it should run daily at some fixed time. i think i can implement this using .net windows service. but i donno how to. anyone pls help me.. thanks in advance Sajitha You can access any website by using the Framework's 'System.Net' namespace. By doing so, you have to parse the response text to filter out the table data to be stored in a spreadsheet (or to be displayed on your own web site). Usually th ...Show All

  • Visual Studio 2008 (Pre-release) selecting & resizing of shapes

    Hi, I am working on the project which will basically on the wpf. I need to create the tool which provide the functionality of creating shapes (line, rectangles etc ) on the form, and after creating these shapes the user can change their size and location by selecting them. For this I need your help to start my project. I couldn't find the sample of dragging & dropping shapes , and selecting & resizing of shapes on the form. thanks in advance :) cheers Hi there, Here is something that can be very useful to you: 1.) To Draw shapes (at a click of button, I presume) you will have to use PathGeometry for complex path shapes. An excellent example can be found at http://msdn.microsoft. ...Show All

  • Visual Studio Team System Publish Error

    Iam facing a strange error using the VS 2005 publish feature. I have a team project with a solution that has also a branch of it. The solutions contains a web site project and also multiple project files. I have been publishing my site using the "Publish Web Site..." available on the menu for the project file. It has been working fine until recently. Now, when publishing the web site of the branched solution, I get a message "publish succeeded" but the target directory is EMPTY. If files exists in the target directory, it deletes all of the files in the target location, but then does not do anything else. This works fine with the root/parent solution. I have tried this on different team system client computers with the ...Show All

  • Visual Studio Tools for Office PInvokeStackImbalance caused by Smart Tag and Word 2007 Addin

    I have been getting the following error message when debugging my Word 2007 addin together with a custom application level Smart Tag: PInvokeStackImbalance was detected Message: A call to PInvoke function 'WRDomainSetup!WRDomainSetup.EverettPolicy::GetRequestedRuntimeInfo' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. When I remove the smart tag from the registry, the error goes away. Disabling the smart tag does NOT make the error go away. So I tried simplifying things by generating a clean Word 2007 addin and a clean Smart Tag (that d ...Show All

  • Visual Studio 2008 (Pre-release) SOAP authentication failed

    Hi, I have browsed this forum, and I found similar question, but none of the solutions have worked for me, so maybe I am doing something silly. However, let me try to describe what I am doing (I am fairly new to wcf programming). I managed to reproduce this same problem with the selfhost application (an example on the SDK, with the ICalculator). The problem manifests itself only when the client and the service aren't running in the same domain. If they are in the same domain (on different machines), everything runs fine. If I try to run the service inside a specific domain, and the client outside (say, just logged in locally into the machine), I get the following: An unhandled exception of type 'System.ServiceModel.Security.Sec ...Show All

  • Visual Studio HTTP Checkout - Possible Timeout Anomaly

    My team is encountering a strange problem when trying to checkin or add larger files to VSS 2005 via HTTP or HTTPS. The resulting error is always the dreaded: There was a failure uploading the URL.... although I don't believe that error indicates what the actual issue is. I've read what I think to be every post on the subject here and elsewhere on the web, and no situation matches exactly (others are simply an easy timeout misconfig or a permissions issue and nothing can be checked in.) It's not a permissions issue as all team members can checkin smaller files and large projects that contain small files-- as long as the file being checked in doesn't take more than 30-60 seconds (see below.) It's not a typical HTTP "tim ...Show All

©2008 Software Development Network