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

Software Development Network >> 4B7's Q&A profile

4B7

Member List

Dave Houlbrooke
aclysma
Fabriciom
Matt Stum
robinjam
ssboyz
cPrince
tremault
William Bartholomew
Uncle Ted
Juan Castillo
veXed
Pramod S Kumar
Manoj Verma
dragoncells
Scott Brady
barkingdog
JamesCox1968
Jassim Rahma
Mikaelm
Only Title

4B7's Q&A profile

  • Visual C++ strcpy_s causes app shutdown

    I am updating some managed code to use the new string handling functions in VC8. I changed calls from strcpy to strcpy_s as shown in the code snippet below. The second call to strcpy_s causes the app to shutdown. No exception is thrown, no error code is returned. The app shuts down with exit code 0xC0000409 as the only clue. This is listed as a STATUS_STACK_BUFFER_OVERRUN in ntstatus.h. Of course it's telling me that it doesn't believe there is enough room in the buffer to accomodate the string. The error goes away if I change to strcat_s, or if I adjust the buffer size argument to take into account the length of the string that was previously copied in. Questions: How does strcpy_s know some of the buffer has been used Why ...Show All

  • Smart Device Development Switching from mobile network (GPRS/EDGE) to Wifi

    Hi Guys, Hopefully won't be bugging you all for too much longer. I've been very pleased with the potential of the .NETCF2.0. Well done MS for sorting this one for us. I'm pretty much sold on the whole thing. I have a question regarding to switching between the mobile network and a wifi network. Firstly, and I think think this is a no; can a device be connected to both at the same time Secondly, can the connection be swtiched programmatically Ok, so heres my reasoning behind this. I have a mobile application that works all day connected to the mobile network making HTTP calls to an internet server. At the end of the day there will be data sat on the device that will not have been uploaded to the customers servers. Now the users of ...Show All

  • Visual Studio Team System Publish operation failed

    Good day everyone, I have an odd problem when publishing unit test results from both the build server and the developer's desktop. Initial note: All builds and unit test results were succeeding and successfully dropping to the fileserver in the past. In the case of unit tests, even failures were posted to the dropzone (by design, of course ;)). However... recently things have 'gone sideways' :(... here are some symptoms: Build server (unit test publishing): - At build time, I see the test phase start and I can even watch the fileserver's dropzone structure for that particular build and see the TestResults folder created and the subsequent files are copied over (In/Out/binaries etc...). - As soon as the test completes, th ...Show All

  • Smart Device Development Error in Passing Image into Database using Web Service

    Hi all, Iam working on a PPC application which runs in CE .Net 4.2 In this application i require to gather a signature from the client and upload the signature into MS-Sql Server. when i test it through Cradle it works perfectly but when i connect the internet using GSM mobile (Pidion 3010) am getting an Web.Exception error and the data is not uploaded. Is this something to do with the speed of the internet connection in the Mobile.. Does anyone have any other better idea to upload this Image into ms-sql server using Web service Thanks in Advance Biju S Melayil Thanks Tihomir.. Yes the URL is accessible from the Internet. It works well when i connect through the Active Sync(local Lan). But i connect it ...Show All

  • SQL Server Yet another question on Application security....

    Ok, i have read a few articles regarding application security and it sems to me the Microsoft just doesn't get it. As others have posted, Vendor packages are not normally controlled by the IT staff... they do what they do. When an application is used for mission critical data, it becomes important to lock down that data as best as it can be under the limits of that application. Yet what is often lacking in a vendor package is thought about what opening up the database means. We are using a Vendor package that does not allow for application security to be set. In other words, it uses windows authentication to grant Database access. As many others here have noted, this opens the database to manipulation via any other tool the user has ...Show All

  • Visual Studio Team System Committing schema changes after schema compare crashes VS (CTP6)

    I created a new project by importing all the scripts for a database and then did a schema compare against the live database. When trying to commit the changes, having selected what toskip and what to update, Visual Studio crashes with the following error signature: EventType : clr20r3 P1 : devenv.exe P2 : 8.0.50727.42 P3 : 4333e699 P4 : mscorlib P5 : 2.0.0.0 P6 : 4333ab80 P7 : db P8 : 5 P9 : a4dh5wwiwww1yjtmp0c0kv4zwcalu4in The project targets a SQL 2000 database and it's under source control in Team Foundation Server. This problem is fully reproduceable, I've already submitted the online crash report. Does anyone know exactly what's causing it and how to work around it TIA Steven, Alle, thanks for the feedback. I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No text input in WinForm controls

    I am putting some WinForm controls on the Game's window, like this: protected override void Initialize() { // TODO: Add your initialization logic here TextBox t = new TextBox (); Form f = ( Form ) Form .FromHandle( this .Window.Handle); f.Controls.Add(t); base .Initialize(); } This works fine for Buttons etc., but entered text does not show up in a TextBox. Not using Keyboard.GetState() does not help. I suppose that the game window consumes all keystrokes and does not pass them to the controls. Any help Still it would be cool if there was some way to embed controls onto the game window. If you had a multiplayer online game and wanted to have a text box for cha ...Show All

  • SQL Server ODBC Destination Issues with SSIS

    Hi All, In Migrating from DTS to SSIS we have scenario where data from OLE DB (SQL Server) is inserted into ODBC source (transoft driver). In case of DTS, ODBC component was provided. For SSIS we used the Destination Script Component and programmatically used the ODBC related calls to design similar functionality. However we are getting the following error – Error[42000][Transoft] [TSODBC][usqld] Name expected@ However the same program pointing to Microsoft Access ODBC driver works fine. Any help in this direction will be greatly helpful. Thanks, S Suresh try writting the script code to insert a record into your odbc destination and run this script code from s ...Show All

  • Windows Forms Controlling one form to another

    Hi, Is there any way to control parent form from child without using showdialog(). I am not using MDI form. suppose I opened Form2 from Form1. Now I want to change some property of Form1 from Form2 then how is it possible Sven De Bont wrote: There's no need to create a new property for this, since the form class allready provides one. You are right, but Form.Owner needs a (Form1) cast to access custom members added to Form1. If there is no need to change those custom members, using Form.Owner is much better than what I suggested. I actually don't know which method is better to access custom members, adding a CallerForm property of type Form1, or use Owner property and cast it to Form1 when it's need ...Show All

  • Visual FoxPro how do i change the desktop background?

    Good day to all experts.... how could i change the desktop background programatically i would like that if a user change my desktop background...at the time I open my VFP application it automatically search my desired background and changed it. Thank you >>well...I just wanted to know that not only RDBMS the VFP is good.. but in some simple task by other programming language...the VFP can do it too...besides it's a common that we always change the setting by going to the control panel or right clicking at the desktop.. why not incorporate this in our program . if we can ... As I said, the settings are in the registry, you can read and write registry settings from VFP very easily - there are examples in the SOLUTIONS.AP ...Show All

  • SQL Server Build datbase from xsd/xml ??

    Hello all. I have an .xsd file and a .xml file that goes with it. Are there any tools available that will build a database structure in SQL Server from either of these two files I can't see the .xml file being of much use for building the structure, but how about the .xsd file ...Show All

  • SQL Server Connecting to the SQLEXPRESS on your computer

    How do I connect to the SQLEXPRESS installed on my computer without network connection (as a standalone computer) Thanks. Hi Cecook, You were probably connecting through MDAC. This is fine and fully supported, but you do have to enable TCP/IP in order to connect with legacy providers. If you use the new SQL Native Client (SNAC) you can connect directly to SQL using Shared Memory and you don't need to enable TCP/IP for local connections. SNAC also supports ODBC and OLEDB as well. Note: You always have to enable TCP/IP or Named Pipes to connect to SQL from a remote client. Mike ...Show All

  • Windows Forms Panel contents

    How can i determine the contents of a Panel control in my app i add some usercontrols inside the panel (one at a time, by clicking a button), but i need to check which usercontrol is currently on the panel, how can i do it I found something about checking if contains some control like: panel.contains(label1) but i can't do it when i add an UserControl, what's the correct syntax for that or what can i do Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click ' check to see if any of these controls are ' in panel1 MsgBox(InPanel( "button1" ).ToString) MsgBox(I ...Show All

  • Visual Studio Unable To Load Symbols

    This has happened 3 times already. Each time I had to completely uninstall VS 2005 Pro and the 2.0 framework from my computer to correct this issue. I am not able to hit any breakpoints. The tool tip on the breakpoint states "Unable to Load Symbols". It worked 5 minutes before, now it wont work at all. I deleted the temp files in the framework 2.0 folder, checked the IIS settings, killed the aspnet_wp.exe process, rebooted, checked my debug configuration to make sure I wasn't running in Release mode. I have tried everything I can think of (I even tried things I found online) and nothing seems to help. I have lost days of productivity because of this constantly happening. I cannot reinstall again and lose even more time. I h ...Show All

  • Windows Forms Customise User Control

    I have four toolbox components that I "habitually" add to classes that derive from UserControl, and I'm thinking of adding two or three more - these are non visual things that reside in the component tray. What I'd prefer to do is to create a new UserControl base, with my components built in as properties. Can anyone point me in the direction of information of how to do this. I've tried putting a Control together with a Design Surface and a few other things . I'd also appreciate any recommendations on any books that cover the "Designer" elements of .NET. Thanks PhilD if the said components are properties of the usercontrol, are you expecting 8 instances of these on the compone ...Show All

©2008 Software Development Network