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

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

davidg12

Member List

Sajitha Jose
DLdfrd
km_srd
EricLeBouffon
Francesco Tattoli
darkwarrior0404
batterhead
Ilker at Gordion
lucerias
we7313
jitumandalia
M Noreen
McWhirter
Patty C
maqk
Peter Chapman
Bjorn EP Backlund
lushdog
revmrfr
arsonist
Only Title

davidg12's Q&A profile

  • Visual Studio 2008 (Pre-release) TCP Streaming - Performance Issue (RTM)

    We have been testing a simple scenario with different WCF bindings to see the performance benefits. The scenario is that client makes a call to a web service with numer of customer objects to return in an array. The service simply creates as many objects as required by the client and send them to client. The customer object is a simple class with 2 public properties, firstname and last name. Each of these names is set to a distinct value in each of the customer objects before returning to client. We set maximum times for send and receive timeouts. We also made sure that there are no message size, maximum depth related problems etc. We used a System.Diagnostics.StopWatch class to measure the time from the time client initiates the reques ...Show All

  • Visual C# Switch statement

    Hi, all: [I guess this could be considered a rant, but I'm still curious if anyone shares my opinion on this] I am still wondering why the switch statement is not more flexible. For example, I feel that a switch statement using objects makes sense. I'll give a more visual example for ease of understanding more than anything else, so picture this: I have three buttons on my form, button1, button2, button3. I set the click event to the same event handler, button_ButtonClick. Inside the button_ButtonClick method I want to check the sender to see which button was clicked, so I do this: switch (sender) // or even (sender as Button) { case button1: // do something here break ; case button2: // do somethi ...Show All

  • SQL Server SQL2005 Data Import Error, Unicode data is odd byte size for column <n>. Should be even byte size

    Hi, I have a problem importing data from SQL Server 2000 'text' columns to SQL Server 2005 nvarchar(max) columns. I get the following error when encountering a transfer of any column that matches the above. The error is copied below, Any help on this greatly appreciated... ERROR : errorCode=-1071636471 description=An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80004005 Description: "Unicode data is odd byte size for column 3. Should be even byte size.". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) Many thanks Hello again I can ...Show All

  • SQL Server Sql Delete Question

    I don't know if this is where I should post or not. I am trying to figure out how to get this select statement which generates all of the records I need to delete. Here is the select statement. SELECT * FROM SrcComputer as c join SrcDriverEntry as d on c . DriverEntryId = d . DriverEntryId join SrcFileList as f on d . FileListId = f . FileListId where c . compid = 567721765 I tried writing the Delete statement like this, but lo luck. DELETE FROM SrcComputer as c join SrcDriverEntry as d on c . DriverEntryId = d . DriverEntryId join SrcFileList as f on d . FileListId = f . FileListId where c . compid = 567721765 How would I re-write the statement t ...Show All

  • SQL Server RS 2000 with Active Directory Application Mode (ADAM)

    Hi all, I have a customer with an RS installation in a DMZ, using ADAM for its authentication. The problem I have is as follows : When setting up the execution log reporting (supplied as part of the standard install) all information being captured for report execution e.g Which user ran a specific report and when, is coming up with 'UNKNOWN' for the user name. Does anyone have any idea where to look to fix the recording of user information I am not sure whether it is a RS or A.D.A.M issue. Thanks Clint Pugh ...Show All

  • Visual C++ how to build a Windows XP application???

    I created a new Windows Application and am ready to compile and build so I can run on my XP PC. What are the instructions for this I need to know how to create the "install" and "uninstall". Thank you in advance. WCIS - Michelle WCIS-Michelle wrote: I followed these steps and I keep getting an error when I choose OK, "The Parameter is incorrect". Any suggestions To create a deployment project On the File menu, point to Add , and then click New Project . In the Add New Project dialog box, in the Project Types pane, open the Other Project Types node, click Setup and Deployment Projects , then click Setup Project in the Templates pane. In the Na ...Show All

  • Architecture Solution Design?

    I was wondering if anybody could give me a few pointers on designing a large solution. We have a rather large application written in a legacy codebase that we are rewritting from the ground-up in C# 2.0. One of the problems I constantly face is the fact that I would like to break things up into separate projects to group common things together but then I always face the problem of "circular references". Can some of you folks who are developing large applications give me some insignt in how you structure your solution(s) I have thought about having separate solutions, but that seems to defeat the purpose of having multiple projects in the same solution! Here's one example of a problem that I face. I want to segregate al ...Show All

  • Visual Studio Express Editions Splash screen and startup?

    I have a splash screen which I would like to have shown as the first thing when a user runs my program. After 20 seconds it should close and reveal the main form. ATM I have the following: I have the splash screen set as the startup form. A timer event on the splash screen form with the following: Me.Close() main.Show() When I run this the splash screen loads sticks around till the end of the timer, then the main form briefly flickers into view before it disappears again and the program seems to end. Does anyone why this isn't working Because by default the settings for a windows app is to end when the startup form is closed...you can prevent this behavior by setting the "Shutdown Mode" to &quo ...Show All

  • SQL Server SSAS: SessionTrace during XMLA execution?

    Hi all! I wrote a command line tool that processes a SSAS cube/dimension. At the moment the tool starts processing similar to: using Microsoft.AnalysisServices; olapsrv = new Server(); olapsrv.Connect(@"SERVER/DATABASE"); Database mydb = olapsrv.Databases["NAME"]; Cube mycube = mydb.Cubes.FindByName("CUBENAME"); mycube.Process(ProcessType.ProcessFull); it is possible to trace the server output with: olapsrv.SessionTrace.OnEvent += new TraceEventHandler(DefaultTrace_OnEvent); olapsrv.SessionTrace.Stopped += new TraceStoppedEventHandler(DefaultTrace_Stopped); olapsrv.SessionTrace.Start(); the two functions can write the "feedback" to a file or to the command line... In order to make the tool ...Show All

  • Visual Studio Express Editions Component Question

    Hi again, I've been trying to build a component as Express doesnt come with a component template, does anyone know what code I need to insert in order for it to work correctly I am sure its not as simple as merely putting 'Inherits Component' under the class declaration, I'm pretty sure you have to some stuff with the 'New' and there's also a 'Site' property that needs sorting out. Like I said, I'm new to this, but if anyone could post the generated code for a new component, that would be great. Thanks again. Okay, I found out where the component name is situated. If you inherit from Component, you can access the name property of the component from Mybase.Site.Name That brings me to another question, assuming you cr ...Show All

  • Visual Basic dbf driver error

    Dear All, I get this error message when running an application developed in VB. It used to works fine but for some reason it was asking to update ODBC but after that it cannot read the dbf file any more. The error message is speicified driver could not be loaded due to system error 126 (Microsoft dBase Driver (*.dbf)) Even I installed this visualFoxProOledb.exe and also MDAC 2.8 it still doesn't work. Could you anyone advise how I can sort this out I am using Windows XP SP2. Regards, DLG I think if you have downloaded the last FoxPro ODBC Driver the problem would be resolved. http://msdn.microsoft.com/vfoxpro/downloads/updates/odbc/default.aspx Hope this can help! otherwise you ...Show All

  • Visual Basic Public Array

    I've read in the forms about making a public variable in a form accessible to another form in the same project, and have been able to do so with a single variable. Is there a way to share a complete array (to be specific e.g. String Array(i,j,k,) where i,j,k are all integers) in a project between forms - i.e. From Form 1 to be used in Form 2. I have coinsidered referrencing every variable in the Array by a loop subroutine, but is there a better way Thanks CRV If I understand correctly, you wish to share an array publically to other forms/classes if so then yes, its done in the same way, only difference being is the type of property, the array type name. Example: public property MyArray() as String() 'ar ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Display a Game in Full Screen Mode example causes screen to flash

    Using Beta2. When I run the Display a Game in Full Screen Mode example my screen switches to full screen and then flashes white really fast. My video card supports the requested resolution setting. Anyone have any ideas. Running a GeForce 7950 GX with latest drivers. The code is simple this is all it does: graphics = new Microsoft.Xna.Framework.GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 800; graphics.PreferredBackBufferHeight = 600; graphics.PreferMultiSampling = false; // Switch to full screen graphics.ToggleFullScreen(); Thanks I guess the backbuffer was the issue. Added the clear call to the draw method and seems to work. graphics.GraphicsDevice.Clear(Color.Cornf ...Show All

  • SQL Server Primary & Secondary Server

    Hello, I would like to know how do I carry out this two cases in efficient way: 1. I have two SQL 2005 servers running. One as primary, one as secondary. I would like to synchronize or replicate the transactions at real-time. 2. When primary goes down, I would like my secondary server to take place in needless of IP changes and application settings. If you have a good architecture on this, please share with me. I am not sure whether my questions are clear enough or not. I also will be reading some articles about these. Thank you in advance. Regards, Paing Hi, First of all this is not an easy question. You need to ask few questions to yourself (a) What is the level of availability you want for data (b) what ...Show All

  • Visual FoxPro Imagelist control

    I want to add the imagelist control to the treeview control(ocx) but I keep getting a message that I have to initialize the imagelist control first. How is this done The treeview works fine. Both ocx controls are dropped on the form but I have been consistently getting the error. Appreciate the help. Alex, Thanks for website. The example was good enough to get me finally working. I've already sent David a note but wanted to thank you too for sending me in the right direction. JohnL ...Show All

©2008 Software Development Network