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

Software Development Network >> Larry Menard's Q&A profile

Larry Menard

Member List

Kolja
ivanchain
Robert_Brame
moemen.ahmed
GethWho
geliser131
hasfad
gonzo883
AndyBee123
Prabu Ramaraj
xRuntime
rcurrie
llively
Patrick Hampton
smalamas
Brandon Hawkins
Bracken1
cashpat
Mallikarjun n Channappagoudra
Ralf Kornmann
Only Title

Larry Menard's Q&A profile

  • Visual C++ Unhandled exception

    Hi All, hr=CoCreateInstance(CLSID_Component2 ,NULL,CLSCTX_INPROC_SERVER,IID_IUnknown ,( void **)&pIX); //REsult of HR is s_ok but when i am calling following function i am getting error as: Unhandled exception at 0x00000000 in App.exe: 0xC0000005: Access violation reading location 0x00000000. hr= pIX->SetAuthor(( char *) 'd' ); Additional info: The code lies in lib .which is then added to dll. Plz help . Take a look on these tips for debugging, http://www.codeguru.com/forum/showthread.php t=360659 . ...Show All

  • Smart Device Development Key mapping problem launching emulator with smartphon skin

    I've been having problems getting my keys to work when launching the emulator from platform builder with a smartphone skin. I found a post on another site stating from Microsoft that this was a known bug. However there was a work around Then launch the DeviceEmulator manually via a command line like "deviceemulator.exe /funckey 193 /n /c %_FLATRELEASEDIR%\eboot.nb0 /skin <pointer to your skin XML>". I tried that but was not able to attach to the device in VS2005 or PB, looking at device manager I saw that the emulator was only register as GUID, so neither could see it using the standard emulator entries. However I was able to attach through PB through a klunky method by running another emulator session letting it lo ...Show All

  • Visual Basic RectangleF.IntersectsWith - Precision?

    What precision does the IntersectsWith have regarding Rectangle vs. RectangleF I had assumed that since values for RectangleF were singles and not integers that this was also a factor in the IntersectsWith routine. However, consider the following example: Dim rect1 As New RectangleF(13.45, 5.15, 1.51, 1.51) Dim rect2 As New RectangleF(10.3, 5.15, 3.15, 3.15) Dim rect3 As New RectangleF(1345, 515, 151, 151) Dim rect4 As New RectangleF(1030, 515, 315, 315) MsgBox(rect1.IntersectsWith(rect2)) ' Returns True MsgBox(rect3.IntersectsWith(rect4)) ' Returns False This may be the expected behavior, but it created more than one problem with my current application. Thanks! ...Show All

  • SQL Server Scripting views / stored procedures in the order of Dependency

    Any smart way to script views / stored procedure in the order of dependencie example: Views: A, B Dependencies: A depends on B By default SMO is scripting them in the alphabetical order so the create view A first and create view B follows it which makes the script un usable as create view A fails as view B doesn't exists in the database. The way i am using to get around this setuation is, using the bellow code (asume that we are passing a list of View objects: static void SortViews( Database sourceDB, List < SqlSmoObject > smoObjects) { DependencyWalker dw; DependencyTree dt; dw = new DependencyWalker (sourceDB.Parent); dt = new DependencyTree (dw.DiscoverDependencies(smoObjects.ToA ...Show All

  • Windows Forms Control values do not refresh

    I have 2 projects: Project 1: A strongly typed dataset with a table etc. I have some code in the ColumnChanged event that looks like this: Select Case e.Column.ColumnName Case Me.columnDISCOUNT.ColumnName Dim r As REQUEST_LINERow = CType(e.Row, REQUEST_LINERow) r.UNIT_COST = r.LINE_PRICE * r.DISCOUNT End Select Project 2: A windows form that has the above dataset placed on it, a BindingSource (bound to the dataset) and several textboxes (bound to the BindingSource). When the user changes the discount text box (by tying a new value). I would expect the Unit Cost text box to update with the newly calculated value as a result of the ColumnChanged event. However the new value does not appear. The new value howev ...Show All

  • Visual Studio Team System Querying field such as description

    I am wondering how I would query on description showing all work items in which the descriptions are empty Can this be done Unfortunately, the current version does not support anything except full-text search on the long text fields. One of the reasons is that 'empty' is not as obvious for multi-line and HTML fields. It can have just one end-of-line character, or several empty lines, for example. And HTML can be quite complex inside, without anything visible. ...Show All

  • SQL Server What is the fastest way to add new named instances to SQL 2005?

    Hello SQL colleagues, I need to add 5 new named instances on a SQL Server 2005 Enterpise Edition. Is there a fast way to do it Best Regards, John YOu will have to launch the setup 5 times but you can supply the setp with an unattended setup file. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Software Development for Windows Vista Physical Screen Orientation

    Hi everyone. I was hoping you would be able to help me with a problem. I bought a Toshiba Tablet PC a few weeks ago (loving it) and included with it are little programs made by Toshiba that help with things such as hardware specific features (ie. the Fn key which lets me change brightness or volume with a key combination, etc.). This was quite handy but there is a couple of problems. First, these little programs are only installed when I use my Toshiba OEM Windows XP Installation CD. And now that I've sworn off XP and moved to Vista, these programs are no longer available. And secondly, I don't know about you guys but I find the evasiveness and user experiences of these little applets annoying. They have their own notification icons whi ...Show All

  • Visual C++ newbie help: importing functions from a dll in a C++.net project

    Hi, I am using Microsoft Visual Studio 2005. I am trying to create a C++ application (Win32 project/application) that imports functions from a DLL. The DLL, which I did not create, is a Win32 DLL (that uses MFC in a static library). The DLL .h and .cpp files do not contain any classes. Just functions with __declspec (dllexport). I think that my problem is that I am very new to .NET (I am not sure I should post this question in a different form). Here is what I have done: I tried creating a new solution and adding the DLL project to it and then building the project (to generate the .dll file). Then I added a new project to the solution and tried to: 1-Add the dll to this project as a reference: using Project -> References -&g ...Show All

  • Windows Forms Presing tab key pass focus throught 2 cells

    Hi, Presing tab key pass focus throught 2 cells. In first and fourth cell I have the standard cell type (with textbox), in second and third I have cell with combobox. When focus is in the first cell then focus passed to third cell. When focus is in the second cell then focus passed to fourth cell. How can I solve it Thank's Alexei ...Show All

  • Community Chat 2007 Feels Like Heaven

    2007 Feels Like Heaven. I hear the party children give this year a name you spell with Letters. "Feels Like Heaven" Well, that's also a rhyme. Teach old people to replace the # symbol with numbers. Start with making the newest most modern method 1 next= I don't know anything about code sample. That's why I'm furnishing you this free information. nobugz wrote: Look at the OP's nick. ;) Hmm, so you saying it is spam Seems to me like she sells daffodils (E-bay) ...Show All

  • Visual C++ Managed array of pointers to elements in another managed array

    Hello, I have some problems using arrays (system.array) in managed code. I have a two-dimensional array available and I would like to sort the values in this array by making a second, jagged array of pointers to the elements in the first array. However, there are some problems: the first array is of course declared on the managed heap. Pointers to elements in that array can change as the CLR rearranges the heap. The solution to this is could be an interior_ptr (which makes sure the pointer is updated when the heap is rearranged) or a pin_ptr (which makes sure the 'pointed' part of the heap isn't rearranged). The problem is that both pointers are only declared on the local stack: it is not allowed to form an array of pin_ptr or inter ...Show All

  • Visual Studio Express Editions Encrypt whole .exe

    I made a program and it have few variables that are critical to be right so ppl wont try mess up my program...as we know strings are highly simple to be changed with hex..i tryed my self and its cristal clear to find 'em...but nvm that.. is there a way i can encrypt the whole .exe ..not like with the System.IO.file.Encrypt class.. thx ahead. There few programs that i saw with a hex editer that are encrypted totally... you cant find a single string or a word excpet the .exe info such as CopyRight Assembly version Version and that stuff...thats what i mean...i heard someting about the using System.Security; and that you can use some encryption ways such as MD5 or Xao or something like that [EDIT] This is bu ...Show All

  • Visual C++ Border of a webbrowser control

    dear all, I have a web browser control on my dilalog and I want either to remove its border or to change its color. How can I do it.. Pls do help. Thanks and Regards shibu I'm afraid the question is outside the scope of this forum. The C++ General forum deals with the VC++ 2005 IDE, libraries, setup, debugger, samples and documentation -- but not the use of all libraries and technologies. While most borderline issues are answered, and followed up, a great deal of these off topic questions are simply not given their fair attention. The reason is that many of the people here are specialized in their field, which may not be the same as that of the question. Seeing as this post has gone by unanswered, I encourage yo ...Show All

  • Visual Studio Team System Building a setup project in its own solution

    Hi, I have a problem when build msi / setup files from TFS Build. It's not how do I get msbuild to understand my project type, it's... I have a VS2005 setup project contained in its own solution. I have added files to the setup and these files come from other VS solutions I build. When I added these files they were added using relative paths to their respective projects \bin\<release | debug> folder. However, I have since found out that TFS Build does not create the \bin\<release | debug> folder when it builds a solution, instead it places project output in the obj\<relase | debug> folder (before copying it to the {Binaries} folder). My question is whether my setup project should reference its files from the obj ...Show All

©2008 Software Development Network