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

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

Theonlyparts

Member List

Dennis Yang
Darren Whobrey
Travis Howle
Sandeep Bhutani
SeanC
Cappy Popp
Newbe
riddler_69
Gangadhar Heralgi - MSFT
tuhack
Christian Burgener
Jean Fuertes
Dennis Keith
Desmond Lim
Jherek
SnakeSV
SanatPalia
Alain DePreter
GhostlyDeath
bthumber
Only Title

Theonlyparts's Q&A profile

  • Visual Studio 2008 (Pre-release) awkward syntax?

    How awkward is the syntax for directly using a foreach statement directly over linq query results: foreach (var x in from e in db.Employees where e.City == "Melbourne" select new {e.FirstName,e.LastName}) {    Console.WriteLine(x); }   a suggestion, yes but Im not sure that it covers the full range of possible expressions foreach (var e in db.Employees where e.City == "Melbourne") {    Console.WriteLine( new {e.FirstName,e.LastName} ); }   ...Show All

  • Visual Studio Express Editions Bad Advice - Don't use Roxio

    In the manual install instructions for burning a CD, the instructions on the web http://msdn.microsoft.com/vstudio/express/support/install/default.aspx  page say "To install the image directly from your hard drive you will need to install 3rd party software that is capable of understanding *.img file extensions. Popular software programs like Roxio’s Easy Media Creator include a Disk Image Loader application that enables you to mount disc image files in a virtual drive as if they were physical discs in a physical drive" Well, I forked out AU $144 to purchase Roxio's easy media creator, and it doesn't understand what a .img file is ...Show All

  • SQL Server Maintenance Plan creation fails

    I've been searching everywhere for a solution to this problem and no answers exist anywhere. When I try to create a new maintenance plan I get the following error. I've been told it may be related to SSIS but nobody has a solution. How do I fix this issue so I can create a maintenance plan. Exception has been thrown by the target of an invocation. (mscorlib) ADDITIONAL INFORMATION: An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued and failed. An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL ...Show All

  • Visual Basic VB and OpenGL

    Now that I've worked with the very basics of DirectX with Visual Basic, I'd like to see how it's like with OpenGL. Though I can't find any up-to-date tutorials or anything about this.. Any suggestions Thanks in advance, Michel Hi, there are lots of tutorial using OpenGL, but the big problem is using OpenGL with VB. There is a lot of data marshalling to do, as OpenGL is unmanaged. All is not lost, see this link for an excellent C# framework: http://www.devdept.com/ I have this running with VB no problem, you can easily make a class lib to use in you VB project, there are a couple ...Show All

  • Windows Forms 'System.Security.SecurityException' when running .exe file from other than developermachine

    I've developed a small console application that gathers systeminformation about the machine. I can run this from a shared network drive, and it works fine. But when i implement 2 more functions that writes a key to the registry and creates a desktop icon on the machine that runs the app, i get a System.Security.SecurityException. I have also made a .cmd file that copies the .exe file onto the user's c: and runs it from there, but i still get the same exception.. ! Any tips on how i can avoid this Here is the code that generates the error (i've found out that both the registry-writing & the desktop creation generates the same error): & ...Show All

  • Visual Studio Express Editions Hello world complier or error Help !!

    my code for hello world is right and it used to work for another Complier... However when I hit compile then what I get is a error saying depth=1024 files or something very simil;ar to that.. This has been botehring me from day 1 and I need youre help can I get help plz thx. Follow your previous post at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=247993&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All

  • .NET Development Loading controls with For loop

    Hello, Thanks to everyone who is kind enough to answer... Is there any way to load data into controls of a form by a For loop What i mean is: if i have 10 labels, can i load texts from a string array of 10, each string from the array to a corresponding label, by a loop Thank You If you don't want to create the control dynamically. Name each label as  dynlabel0  dynlabel1  dynlabel2  ... In you load  Dim ctrl As Control  For Each ctrl In Controls   If ctrl.Name.StartWith("dynlabel") Then    ''** ctrl is your label, you coud do Interger.Parse(ctrl.Name.Remove("dynlabel")) to ...Show All

  • Windows Forms Walkthrough of new Layout Properties

    Windows Forms 2.0 Layout  Introducing the LayoutEngine Windows Forms now has a powerful new concept of a LayoutEngine. LayoutEngine is a way of creating pluggable layouts for your controls. For WindowsForms 2.0, there are two new LayoutEngines, which have been exposed as panels you can drop onto your form. These are FlowLayoutPanel and TableLayoutPanel. New properties/methods Old  ...Show All

  • Smart Device Development Auto-generated Code

    Hey everyone, I have a VB2005 project with a SQL Mobile database. The database is rather large. I've created parameterized queries to load grids and selected the grid task to Generate Data Forms. I delete the New menu option and the editable form. I am just using the detail form that opens when a record in the grid is selected. My problem is that when I click on a record on the main grid during testing, it takes an extremely long time to open the detail form and populate the labels from the corresponding fields. When I originally did this in VB2003, I hand coded everything, and the searching and loading was much, much faster. I ...Show All

  • Visual Studio 2008 (Pre-release) Set a mouse cursor position ?

    hi, 1. I want to set the mouse point to a specific position. For example, set the mouse cursor to (798,871). How can I do it 2. I want to simluate the keyboard pressing. For example, press RIGHT arrow. How can I do it These problems make me confused a lot. Thanks. for #1, you probably have to use interop to do it. using System.Runtime.InteropServices; ... public class MyClass { [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError=true)] public static extern int SetCursorPos(int x, int y); public void MyMethod() { SetCursorPos( ...Show All

  • Windows Forms Prevent a user closing the app

    How do I prevent the user from using Alt+F4 to close an app David Legg // Assume this is my form this.Closing += new CancelEventHandler(this.Form_Closing); private void Form_Closing(object sender, CancelEventArgs e) {     e.Cancel = true; } ...Show All

  • SQL Server snapshot replication problem

    hi all, I grouped my tables into two publications To each publication i added my "datamart1" server as a subcriber  using the same database as a destination   I dont have problem when i create snapshot since each of the publication generates its own snapshot.   The only problem i encounter is that. when i begin to sychronize any one of the two subscription The two subscription gets synchronized.   I need to isolate each publication's syncronization to know exactly how much time would each publication take to get  synchronized in the datamart   thank ...Show All

  • Windows Forms Screensaver mode

    Couple of questions: 1. Sorry if this is a dumb question but should the game interface be visible and running when the selected as the system screen saver and the screen saver cuts in. I just get a bouncy graphic, nice but I'd prefer the environment, as per version 1. I have read a post (from Mitch) that a light screen saver cuts in if the&nb ...Show All

  • SQL Server Script component as Destination - HasSideEffects?

    How to set 'HasSideEffects' property for any input column of a script component used as destination My Script component reads input, generates SQL update statements dynamically and fires them. There is no output. When executing, I get this error (which is self-explanatory). "Script Component" (1573) has been removed from the Data Flow task because its output is not used and its inputs have no side effects. If the component is required, then the HasSideEffects property on at least one of its inputs should be set to true, or its output should be connected to something. How do I get around this thanks, Nitesh Which build do you have ...Show All

  • Smart Device Development Asynchronous I/O functions on CE

    Hi, I need to port a Windows desktop communication DLL to a PocketPC target. Unfortunately, it seems that CE doesn't support aynchronous call for the I/O function ReadFile, WriteFile and CreateFile but these functions were esential to my DLL. So, is there really no support for overlapped I/O methods on CE Is there another way to implement non-blocking read/write operations on serial ports or sockets Thx, Negyoshi. Overlapped is more efficient, and should take some space too. That should be the reason why MS did not implement on CE. But that discussion is not the topic. > Do you use message queues ...Show All

©2008 Software Development Network