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

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

gteddy

Member List

OfF3nSiV3
pritha
Poma
nglow
Ed.S.
Danielz
direct confused
nextpaco
davidw
d72e4d
Marcosm64
R. Muti
MerryPoppins
Christos25
MrLister
NoEgo
BioGeek
Steven Twitchell - MSFT
Tsmedegaard
Xie Zheng
Only Title

gteddy's Q&A profile

  • Visual Studio Express Editions Filter Problem

    I'm struggling with being able to filter a bindingsource. I have a form with a datagridview (Player_InfoDataGridView). I have an event that triggers when the user double clicks on a specific record within the datagridview. That event opens another form (Tracking_List) with textboxes containing data from a bindingsource. The form has a bindingnavigator that moves from one record to the next. I need to be able to filter that form based on certain fields from the datagridview on the first form. I have assigned variables to capture the values of the certain fields to use in the filter based on the current row that the user double clicks on. However, I cannot find the correct filter code that works. Here is what I have so far: Private Su ...Show All

  • SQL Server Will DST issue affect SQL Server?

    Does anyone know if SQL server 2000/2005 will be affect by the DST issues in 2007 If it is, is there a patch release by Microsoft SQL Server relies upon the host computer clock for the correct time. DST issues are temporal, and only effect you if you think it does. SQL Server does not care about the time -it just stores whatever value it is told. So, if DST is a concern for your business, then perhaps you should consider using UTC time rather than local time when you store time values. ...Show All

  • Visual Studio Express Editions Copy image/graphic from panel/drawing surface to richtextbox

    I have the following code which allows freehand drawing using a mouse. It uses a panel as drawing surface. I will add the ability to load background images on the panel so can draw on that bmp. Now after all the drawing, I want to ensure its one image, a bmp, copy to clipboard then paste it into a richtextbox on another form in the program. Now attempting this I have tried several approaches. None have worked at all. The online tutorials or samples to study I can find are many years old and many version of basic ago. None work of course. Here is my base code for drawing. Any advice, or directing me to a tutorial, sample, or a reference book would be greatly appreciated. From what I read, this should work. There wa ...Show All

  • Windows Forms Problem with registering msxml6.dll as a dependency of SQLServer.ManagedDTS.dll

    Hello all, Has anyone experienced problems registering msxml6.dll It's obviously a dependency of SQLServer.ManagedDTS.dll (which I require in my application) and gets included as a primary output. Unfortunately none of the registry modes (e.g., vsdrfDoNotRegister, vsdrfCOM, vsdrfCOMRelativePath, vsdrfComSelfReg) would work. Other than SelfReg, the file does not install, and a a "missing assembly" error of sorts occurs when the application is run. However, when I do choose vsdrfComSelfReg, an error displays during installation ("...msxml6.dll failed to register, HRESULT -2147023782. Contact your support personnel") and msxml6 remains unusable. So does the application. Anybody have an idea what's up with msxml6, and what ...Show All

  • SQL Server sql join

    Hi, There are three tables: tblUsers --> 28 records tblDepartments tblDepartmentsUsers --> something like a junction table between the above two tables. I have entered several test records into tblDepartmentsUsers. So that some of the users have Departments allocated to them. I would like to have a query so that you can pass in a departmentID. The result should show all users in the users table. In addition, it should show the departmentID for the users that do have a department and null for the unacclocated users. This the stored procedure that I have. The problem is the where clause. because when I pass in the departmentID it returns only those allocated departments. Whereas I would like to see all users (null for users ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. exporting x and fbx files

    Hi there chaps - I'm fearful that this question has been asked before but lots of searching could not find it. In essence - if I export a model in 3D studio Max (version 7) in both x and fbx format, neither displays using the (excellent - thanks guys) 3D sample code. That's not entirely true - the x file displays but completely white, the texture barely visible. The fbx file has the right texturing but many of the polygons are linked incorrectly, or have wandering vertices. The fbx is in some sort of binary format incidentally. Now, my question after all that intro - what exporters do people recommend for 3dsMax - for either FBX or X files Or is there some very stupid option I'm not turning on (eg - X file exporter's hidden Tipp-Ex all ...Show All

  • Visual C++ pointer reference as argument of a function

    please explain to me how to send the pointer reference to a function as an argument of  another function in Visual C++ 6.0  .  a sample code would be helpful Introducing a typedef might help to make this more handable and readable: typedef int (*pYourFunc)(int arg1, int arg2); Now you can use this to define a function pointer: pYourFunc p = SomeFuncWhichReturnsVoidWithIntIntParams; You can pass p to a function which has pYourFunc as parameter type: void AnotherFunc(pYourFunc pFn) { pFn(1, 2); } AnotherFunc(p); Did I get your question Does the answer help -- SvenC ...Show All

  • Visual C# Schedule Event

    Hi again... I need to run this every day at the same time or once a week on a predefined day and hour. How's it done Been through allot of research but couldn't make it work This is the event i need to schedule private void BackUp() { Cursor = Cursors .WaitCursor; SQLDMO. _SQLServer srv = new SQLDMO. SQLServerClass (); srv.Connect(server, username, password); SQLDMO. Backup bak = new SQLDMO. BackupClass (); bak.Devices = bak.Files; bak.Files = BackupFolder + database + ".bak" ; bak.Database = database; bak.SQLBackup(srv); this .Cursor = Cursors .Default; } catch ( Exception err) { this .Cursor = Cursors .Default; MessageBox .Show(err.Message, &quo ...Show All

  • Visual C# Learning C#

    Hi, I would like to ask anyone here for their advice on where I should start with C#. I have been programming for nearly a year now and dont know any other languages other than the VB family, such as vba, vb6 and vb.net. Since i have been programming with .net I have learned alot from the msdn library that comes with the installation of Visual Studio, and whenever looking at the example of code I still am always drawn to read the C# code. Something is just making me want to learn this language, However a good friend of mine is trying to alter my path by suggesting I learn C++. Learning C++ I would like to do, and also think I would benefit with the fact my friend knows the language. But may it not be a good path to learn C# then g ...Show All

  • SQL Server RAISERROR in CLR Routines

    When I use the following code to execute a RAISERROR from within a CLR Routine (Stored Procedure), and I call this CLR stored procedure from T-SQL within a TRY/CATCH block, the error is not caught in the CATCH block. Why is this happening try { SqlContext .Pipe.ExecuteAndSend(cmd); } catch { } I have noticed that if I throw the exception out of the CLR routine, then the T-SQL stored procedure begin catch .. end catch does catch it. But of course, there is a lot of .NET information sent back with it, so the error message is quite messy. ...Show All

  • Windows Live Developer Forums FireFox bug in V3

    I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. The V3 map doesn't work in Firefox < 1.5, so if you have like 1.0.7 it doesn't work with the error you noted. Hope they'll fix it soon. Still alot of people are on < 1.5. ...Show All

  • Visual C++ Error C2065 in vc6

    hi i m using this code i on windows XP and visual studio 6,i receive error mentioned above i had include these two lines as well,in stdaxh.h #define _WIN32_WINNT 0x0500 #include <windows.h> the code is below MENUITEMINFO mii; memset(&mii, 0, sizeof(MENUITEMINFO)); mii.cbSize = sizeof(MENUITEMINFO); mii.fMask = MIIM_ID| MIIM_BITMAP |MIIM_DAMFT_BITMAPTA; error is describled as below D:\_RCProj\_VC6\live desktop\Source code\WinScreenAnotator.cpp(684) : error C2065: 'MIIM_BITMAP' : undeclared identifier D:\_RCProj\_VC6\live desktop\Source code\WinScreenAnotator.cpp(684) : error C2065: 'MIIM_DAMFT_BITMAPTA' : undeclared identifier Error executing cl.exe. Creating browse info file... WinScreenAnnotatorVC6.exe - 2 error(s), 0 warning ...Show All

  • Visual C++ Is it possible to use clrscr(),gotoxy() in Visual C++

    Please help me! I think the first place to look is the Platform SDK documentation and the Platform SDK sample. I have posted a link to the documentation sometime in the past couple of days; if you look through a couple of pages of this forum you should find that. It might be in the VC language forum though. Otherwise, it should be possible to find the documentation relatively easily. ...Show All

  • SQL Server How to auto populate column of different Collation?

    I have a table in a case-insensitive DB with a varchar column "Name". I have a requirement to auto populate a new column "NameI" which is to have a case-sensitive collation. The new column will be joined to tables in a different DB with case-sensitive collation. This all seems to work so far. If I auto populate "NameI" by Formula() the column is not indexable. If I populate it by trigger it is indexable. But a Trigger causes overhead I wish to avoid and it adds a layer of maintenance I wish to avoid. KISS! So, does anyone have an idea how to auto populate "NameI" without using a trigger and yields an indexable column Thanks! Michael ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is it possible for XNA go into Visual Basic?

    I alway think Visual Basic is the easiest of all 5 languages(Java, Web Development, C#, C++, and Visual Basic) and I heard that XNA only work on C# and I wanted to have XNA communcate and have some commands for Visual Basic. If it exist please tell me. :-) Please and thank you. Yes it is possible but you will have to do a lot of the work for yourself, here is a link to a guy who has a site dedicated to XNA and VB.Net . If you do want to go the way of c# and need help to get started I have put together a small post that links some resources for beginners starting off in XNA , the site includes links to programming tutorials as well as the Visual Arts. ...Show All

©2008 Software Development Network