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

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

johnGa

Member List

Majka
will_affinity
wizardgmb
Suneel
greenleaves
karthic
jen
elly
drazaloth
Justin_K
Jignesh Panchal
fzane
Nalin Jayasuriya
Roland Nitsch
ThoEng
ToddT
StatlerW
Feint
aalford
RedChequer
Only Title

johnGa's Q&A profile

  • Visual Studio Team System Team Project Creation Fails because of Sharepoint

    OK this one is killing me.  I have done the install about 3 times and keep getting the same error.  When I go to create a new team project, I step through the wizard and click finish.  The wizard then goes on to create the Reporting Services Part, the Source Control part, and when it gets to Share Point it fails on authentication.  Everything is in a domain and I have used service accounts as specified per the install. Here is the kicker, when I am local (terminal serviced into team foundation server) all goes well, but when I am on my workstation it fails and does not give me a whole lot to go on.  It barks about p ...Show All

  • Visual C# compile from your app

    Hi I have an app .. with a richbox in it.. the user puts some code in c# there I was wondering .. can i complie that Sure, you can use the CodeDom to dynamically compile code at runtime. Here's an example: http://www.csharpfriends.com/Articles/getArticle.aspx articleID=118 ...Show All

  • Visual Studio Cannot Implement Splash Screen.

    I cannot get the splash screen for my package to show up. I'm using the Sept. CTP and using the Package.dll sample as a blueprint. I'm using the same icons as Package.dll for the splash and about boxes. The about box shows up for my package but not the splash screen. The only difference that I can see between my package and the sample is that my package does not yet have  a Load Key(but this shouldn't be a problem) and my package has a satellite dll with and rc file and a resource.h file which means I'm not using the line : [MsVsShell. PackageRegistration (UseManagedResourcesOnly = true )] I can get the splash screen to come up for th ...Show All

  • SQL Server Slow SQL

    I have an application created in house that runs great in all PC's with SQL express 2005, this application need to import data from a .TXT file, when I import the data in all of the PC's it imports arround 1000 lines per second, but when I install this application in a server HP DL380 with 3 disk 76 GB 10K in RAID 5, 1 GB RAM it just imports 100 lines per second. In the server this application is 10 times more slow. I have installed in both (server and PC's) the SQL Express 2005. Does anybody could help me Hi, there are several options: -integrate performance counters in your application to see where the bo ...Show All

  • Visual C++ error C3861: 'exit': identifier not found

    Hi, I'm trying to build an old code (main.cpp) where I'm using SDL. This is my first time using Visual Studio 2005 . I have included the following: #include <SDL/SDL.h> #include <stdio.h> #include <stdlib.h> int main( int argc, char *argv[]) { if ( SDL_Init(SDL_INIT_AUDIO|SDL_INIT_VIDEO) < 0 ) //SDL_Init will return -1 if it could not initialize { printf( "Unable to init SDL: %s\n" , SDL_GetError()); exit(1); } atexit(SDL_Quit); } I get the error : error C3861: 'exit': identifier not found. What am I doing wrong ...Show All

  • .NET Development validating databound textbox with dataset columnlength

    I use VB 2005 and ADO.2.0 I have a textbox that is databound to a datacolumn in a table that is created with a tableadapter. I have noticed that the designer automatically sets the column length according to the column length in the database. When more data is entered in the textbox then is allowed, a first chance exception is generated and it is impossible to leave the textbox. Can I somehowe catch the event that does this length controll and inform my user that to much text is entered Thanks for the quick answer. I had your solution in mind but there are more to it.  I have the datarow encapsulated in a class as part of a busin ...Show All

  • Visual Basic Connection String in Module

    Hi, I'm currently working on an application that has only one Form + 2 Modules. In one of my modules i need to have access to 2 Access DataBases. I know there are some objects we can add to our forms to gain access to databases, but I dont want my form to have access to the databases, just one of my modules. Is there a way to do that or do I need to use the form thanks a lot for helping. Its been a long time since I worked with DB. Typically the form is used as the UI only and all db work should be done in a DAL comprised of modules and or classes... So yes you can put your connection string in a module (recommend looki ...Show All

  • .NET Development Server currupt when Client close.

    I have made a "Hello world" Remoting example. The Client works fine when connecting with the Server. While I close the Client, a message comes out as below, and the Server close. Server has encountered a problem and needs to close. We are sorry for the inconvenience. The debug information is as below: System.AccessViolationException was unhandled   Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt." I think the code has no error, because the same solution I have test in VS2003 without problem. While used in VS2005, it encountered an error. Th ...Show All

  • Smart Device Development Focus problem!

    Hello. Im making a smartphone program for Windows Mobile 5.0 using C#. In this program there is a form. I open other forms on it as a dialog: using(MyForm form = new MyForm()) { form.ShowDialog(); } Here is my problem: when i have opened a dialog on the main form, and press end button(red phone), program losts its focus as it should. But when i give the focus back to my program by pressing its icon, program acts veird: When i close the dialog with this.Close(), mainform losts its focus again! So i have to press the icon again to get the program visible. Here's the situation once again: mainForm opened -> ...Show All

  • Smart Device Development GetNextInstance in Pocket Outlook

    Is there an equivalent in the Pocket Outlook Object Model to the GetFirstInstance/GetNextInstance methods that are available under Exchange Server to iterate through the ocurrences of a repeating appointment I'm working on a Windows Mobile application that needs to project the next ocurrence of appointments in Pocket Outlook. The application is written in a mixture of native C++ and .Net CF, so either a managed or an unmanaged solution would be fine. We'd like to support Windows Mobile 2003, but Windows Mobile 2005 support is the most important. If there's nothing built-in that does this, is there sample code or a third-party library that w ...Show All

  • .NET Development SmtpClient doesn't send QUIT command

    I may be missing something, but I believe that there may be a bug in the RTM SmtpClient class. It doesn't seem to send the SMTP QUIT command after sending a mail message, meaning that SMTP connections aren't closed until some timeout expires. If you run tcpTrace ( http://www.pocketsoap.com/tcptrace ) locally on port 5000, have it forward traffic to your favourite SMTP server, then run the following code you will be able to see what I mean: System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient("localhost", 5000); client.Send(" from@example.tld ", " to@example.tld ", "Test subject", "Test body"); Conversely, the obso ...Show All

  • Windows Forms SqlExpress2005 prerequisite needs custom install

    My App needs SqlExpress2005 installed with: securitymode=SQL and sapwd=aaabbb999 plus some other parameters. My Oneclick deployment works as expected except, the SqlExpress2005 install is the default Windows Authentication. I've edited the xml for the manifest schema to include these parameters, and read about bootstrapping in Sean Draine's Article, but the default install is all that I can get to happen. At this point, beta2, or July CTP, do I have to create manual manifests Any ideas or workarounds are appreciated. Hi, Enabling SQL Authentication in SQL Express needs you to change the registry key after installation: STEP1: Copy the ...Show All

  • Visual Basic Accessing Public Function located in another Project referenced within the same Solution

    I've to a solution with two projects: Bungalow New Programs New Programs has a ref to Bungalow. Bungalow has a Module called Bungalow which has a Public Function (clone_control()) From within 'New Programs' I can not access Clone_Control. However, if I drag (wihin the Solution Explorer) the Bungalow module from Bungalow to New Programs, then it works OK. I thought that adding a reference was like letting all the contents of the referenced project be "in" in the referring project. Is this just the way it works or am I missing something MORE INFO In addition, if I ...Show All

  • SQL Server Importing dBase files with the SSIS Import/Export Wizard

    I saw this post by dterrie in the Wishlist thread and I just wanted to second it: " How about bringing back a simple dBase import. The SSIS guys are clearly FAR out of touch with reality if they think people who handle data no longer need to work with dbf files. I've seen alot of dumb stuff in my day, bit this is just sheer brilliance. I just love the advice of first importing into Access and then importing the Access table. Gee, why didn't I think of such a convenient solution. I could have had a V-8." I've been struggling with this the last couple days and finally decided to import the dBase III file into Access and then i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX 9 in visual basic 2005

    Hello all,     I am an experinced user of Visual Basic 2005 Express Edition, but am failing terribly when trying to apply DirectX, Direct3D and other techniques.  Does anyone know where I can find directx tutorials that have visual basic code examples   I would really like ot learn.  I have tried literally hundreds of c++ tutorials and they never compile, whether the creater of the source says it works or not.  I have the DirectX SDK August 2005.  I have gone through the help file as well, but it is so confusing, or maybe I am just dumb.  Thanks for any info, Timothy So does directx work wit ...Show All

©2008 Software Development Network