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

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

GOOOGO

Member List

Robert Beaubien
Sagy
JockForrester
ive
GwapoJoe
paddyprash
Alf05
panzin
testvoid
dimaj79
The New Guy
RobGMiller
hafi
Bene_Ries
chellios
Woo
Vladimir Sapronov
herocomplex
onkeldoktor
GaryGary
Only Title

GOOOGO's Q&A profile

  • Visual C++ How to spawn a thread from the main one?

    Dear all, I am new to Visual C++ and I would like to get supports on how to write a multithreading application. In fact I came from UNIX/Linux background and I am trying to write a network application using winsock2. The idea is that in the main function program "main()", the application is listening do data from the network. The moment the winsock API function (recv or recvfrom) receives data and fill the receiveing buffer "Array", another thread will immediately be spawned to process the received data of the buffer, while the main function thread will continue to listen to new coming data, again, once data have been ...Show All

  • .NET Development Problem getting query to work

    I'm trying to write access a SQL Server 2005 database from a Visual Studio 2005 Beta 2 web service.  I'm having a problem getting it to work. The database contains a sample table (States) of the states names, defined as:       StateID       tinyint       StateName   nchar(15) The code is:         Dim ConnStr As String         Dim CmdString As String         Dim sqlDA As Data.SqlClient.SqlDataAdapter     &n ...Show All

  • .NET Development .Net 2005 Control needs to be called from legacy VB6 and Visual C/C++ 6.0 code

    Hi, I've a windows form control that I created using C# .Net 2005. It is a visible control (appears on the windows form) but does not have to be visible. How can our legacy VB6 or C/C++ 6 code call the control. The control has 4 fields (2 of string type, one of int type and one of bool type) and 1 method that takes no parameters and returns an int. We need to support the legacy code even though future releases will use the .NET framework. Thanks, - Neil ...Show All

  • Visual Studio Team System Assembly.GetEntryAssembly() Returns Nothing when running from a Unit Test

    When trying to access the Entry Assembly from a Unit Test it returns nothing. I am using " Assembly.GetEntryAssembly().Location" This is causing a problem since it works in our application but not from unit testing. I see other posts when I am googling it, but no answers. Why could this be happening Is this a bug Also AppDomain.CurrentDomain.DomainManager returns nothing. I am guessing this is part of the problem. Is it because the unit testing framework is doing something different than a application Any help will be greatly appreciated. Cory I don't mean to sound annoying - ...Show All

  • SQL Server How to check if the file exists or not before bulk insert

    How to check if the file exists or not before bulk insert. I would like to skip the bulk insert if the file doesn't exist. Information: I use Stored Procedures to run Bulk insert statement. The stored procedures is call by package. ****************** I test it at query analyzer and show the error when file don't exists. Error message Server: Msg 4860, Level 16, State 1, Line 1 Could not bulk insert. File 'E:\POLL41.fmt' does not exist. ***************** Code CREATE PROCEDURE sp_InsertPoll59 AS declare @strsql varchar(5000) select @strsql = 'BULK INSERT POLL59 ' select @strsql = @strsql +' FROM ''E:\POLL.DW ...Show All

  • Windows Forms .NET Application Updater - the process cannot access the file

    Hello, I am using the .net application updater component. When i first launch the application (via the appstart.exe), i sometimes get the error: 'The process cannot access the file "c:\...mypath...\bin\appupdater.xml' because it is being used by another process' If i delete this file and restart the app, it works just fiine. Anybody know if this is a known issue, etc thanks in advance, geeze, i feel like a [boob]! Uhm, its because VS had a hold on the file.  Closing VS makes the problem go away.  This had to do with the build.. for some reason, the resources arent disposed properly... ...Show All

  • .NET Development WebService Timout troubles

    My webservice times out after insterting 15 or 16 rows into an access database from a mobile device. I read that databse querys and things of that nature take a long time. (well longer than regular methods) Ive gone into my iis server setting and changed the script timout to a higher value (longer than what its timeing out at) no change. i put <httpRuntime executionTimeout="600"/> in the web.config for the service. Not sure if this even does anything anyway. in the call from the mobile device I have done instance.Timout = 600000 I have tried the first and second things together no change have not tried all three togeth and I doubt it w ...Show All

  • SQL Server Using schema file to bulk load XML.

    Hi ... I am successful in bulk loading the xml data below using the schema file.  I would like to make changes to the schema file so we can load the data associated with the <atmospheric> tag.  I have tryed to add the following to the schema and I typically get the following error: Any Suggestions Any comments Thanks !! Chris ////////////////////////////////////////////////////////////////////////// // schema changes to get the Atmospheric data <atmospheric> <xsd:complexType>  <xsd:sequence>   <xsd:element name="atmospheric" sql:relation="MacgowanTestRWI ...Show All

  • Visual Studio Express Editions VB.NET & SQL Server Installation Problems

    Hi, Maby someone can help... I've just downloaded the .img installation file of VB.NET (the latest express edition) and extracted it and installed it. Before then, I uninstalled VB.NET Express edition BETA 2. On completion of the install of the latest VB, the SQL Server installation failed and when I started VB, there where absolutly no templats what so ever. I re-installed the whole lot again and check out all the advice that there was but still nothing works... Please help, any advice will be gladly accepted. Matt. I thought that tool was supposed to run the uninstall commands for you. At this po ...Show All

  • Visual C# loops

    Im a bit new to loops. Can anyone explain to me how its possible to use a loop to move items from a listbox to a textbox one item at a time(a confirmation message box will be displayed) what kind of loop is best for this for ( int i = 0; i < listBox.Items.Count; i++) {  // Lett the user confirm this action.     if( MessageBox.Show( this, "Are you sure you want to move " + listBox.Items[ i ].ToString() + " ",         Application.ProductName, MessageBoxButtons.YesNo, MessageBoxIcon.Question ) == DialogResult.Yes )     {    ...Show All

  • Visual Studio Does VS2005 have a possibility to handle custom property sheets in a source control system?

    I am sorry to repost this yes/no question http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=253750&SiteID=1 here but it looks like nobody views Visual Studio General forum at all :). ------------------------------------------ Does VS2005 have a possibility to handle custom property sheets in a third-party source control system automatically I mean can it be set to pop-up check-in/check-out dialogs when I change my own property sheets file or just to be aware of the fact a xxx.vsprops file being used in my project is under a source control system I use Perforce if this information helps. And I have to check-in/out my property ...Show All

  • Windows Forms Outlook Control

    Hi, Looking at the screenshots for the new whidbey controls and a simulation of Outlook 2003 is there.  Will these Outlook controls be available in whidbey or is Microsoft just showing what can be done if you feel like re-creating something from scratch like Outlook in .NET Tom, I am interessted. Would you please post the code thanks Daniel ...Show All

  • .NET Development How to compute processor queue length

    Hi, Will you please suggest the some approaches in C# from which I can get the processor queue length performance counter.    I have tried following approaches from using performancecounter class    1 counter.Nextvalue()              when I tried to use NextValue() I got 0      2 (sample1.rawvalue - sample2.rawvalue)/(sample1.TimeStamp100nSec - sample2.TimeStamp100nSec);       In this approach   I got a value which is very close to 0   3  T ...Show All

  • Visual Studio Express Editions VB shuts down without errors

    Hey there I got a lil problem I've been trying to solve, I've tried reinstalling (twice). I've tried creating a new project and importing all my forms, but that didnt work. Everytime I try to add a DataSource to a DataGridView VB shuts down completely (no errors whatsoever). Everytime I have changed the code in my project and try to compile it (debug, publish, build, whatever) VB shuts down without errors, it does compile it properly though. If I then start VB again and debug it (not changing any code) it debugs just fine. These problems only occur with my current project, no other projects have these problems. (VB gives me no erro ...Show All

  • Windows Forms What is "application framework"?

    I tried creating a new Windows Forms app and had a hell of time just getting it to run.  The trick was turning off something called "application framework".  Can anyone explain what this is   Or point me to some articles about it   Please don't refer me to the documentation.  I'm downloading it right now but it's going to take& ...Show All

©2008 Software Development Network