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

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

vijil

Member List

boston_sql92
Chris4578
Moo_Ger
Humaneast
Steve_fr88
techlist
bk13
Brown_Jeff
Plane Fun
Paul Verdu
OTNS
wlaulner
genjioo
ravindra_pn
Holm76
ABS123
Gunnar Adler
bryanedds
AsimKhan
eduar_hte
Only Title

vijil's Q&A profile

  • Visual C++ pdh.h - Error Occured

    When I include the pdh.h header file I recceive the following error: error C2040: 'HLOG' : 'void *' differs in levels of indirection from 'struct _HLOG' The error occurs in the header file. Any idea what could I be doing wrong Thanx in advance The only programmers that are better than C programmers are those who code in 1's and 0's..... Programm3r Viorel. wrote: It seems in Visual C++ 6.0 the HLOG type is defined in two ways in different header files. Therefore I think you cannot include these header files in the same CPP file. I would suggest you to split your CPP file into two ones, and then work with PDH.h file in the first one and with other header files in the second one. Thus the definitions of HLOG will n ...Show All

  • Software Development for Windows Vista Looking for some help on where to start...

    Hi all, I've been looking around and around in samples and posts in the forum but I found nowhere a way to help me on my noob question. It seems like most of you have been using InfoCard in a web environment. Well, I'm willing to use it in a smart client application. Question 1.How can I request Windows Vista to prompt the Card selection to the user... Simple huh Question 2.Then, what I want to do is quite different from the standard challenge request web process: All the users of the application will open a local session (managed by the application) in order to provide an offline mode while making sure I got all the require information. Once the user enters in the online mode, I want to pick the card information and send ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I start Space Wars?

    How do I start Space Wars Because Xna is not very user friendly. Go to File and select New Project Select Spacewar Starter Kit and hit OK From there hit F5 and you should be running! I hope this helps! ...Show All

  • Visual Studio Express Editions Help! Random movement in C!

    How can I generate a random movement horizontaly using rand function I can only generate movement but, not randomly, using a loop... Besides, if you're using the .NET FrameWork, which I guess you aren't, you could still use Random.Next regardless of language. I suspect with C you have to initialize the random-number generator with a seed (there's probably a function to do so using a value obtained from the CMOS clock, which is sort of "random" in that the exact moment your code will run is unpredictable), then scale and round the number you get from rand() to fit the range you want (I think it'll return a double between 0 and 1, so just multiply with your range, then shift if your range is ...Show All

  • Visual Studio 2008 (Pre-release) accessing image pixels for images from siteoforigin

    creating a BitmapSource from a siteoforigin pack uri (pack://siteoforigin:,,,/asdf.jpg) in an XBAP app. my assumption was that i could access the pixels (CopyPixels) of the image since it was served from siteoforigin ... but i'm getting a SecurityException should this be working as a workaround, i saw another post that ended up using System.Drawing.Bitmap. Thanks, casey ok, ends up that CopyPixels works fine on the initial URI load, but PixelFormat.BitsPerLength was throwing the SecurityException ... so now i'm just hardcoding that value. but now the problem i'm getting is after doing some pixel manipulation, i put it back into a BitmapSource, and perform a ScaleTransform to end up with a Tran ...Show All

  • SQL Server Insidious Bug?

    This looks like a bug to me, can someone verify that this is faulty behavior or tell me why it is proper Two stored procedures are defined, each creates a temporary table of the same name, but with different definitions. Both procedures compile successfully. If procedure Two is executed by itself, errors are produced. Once procedure One has been run, then both procedures succeed. It seems to be an issue of improperly resolving the definition of the temporary table. Thanks drop procedure one go create procedure one as begin create table #salt( a int not null, b int not null, c varchar(100) ) insert #salt values( 1, 1, 'Fred' ) insert #salt values( 1, 2, 'Barney' ) insert #salt values( 1, 3, 'Wilma' ) ...Show All

  • Visual Basic Listboxs with multicolored items

    I've got an application that will add action items to a listbox. Some of the items are higher priority (Red) and others are not (Yellow). Is there a way to put both colors into a listbox You'll have to owner draw a standard listbox. Here's a link that describes how to do it in C# but if you Google around for it you might find a version in VB. Other alternatives would be to use a 3rd party list box that has this feature or use Treeview or Listview controls if either of them will work for the look and feel you want. ...Show All

  • Visual Studio collapsing outline at random times in VS05

    [Moved this discussion from " Visual Studio Setup and Installation" due to no responses there.] I recently migrated from VS03 to VS05. I've always used Outlining to manage large code, but VS05 seems to have introduced a bug in the outlining functionality. I will be working in a section of code and all of a sudden it will collapse and the section I am working in will be hidden. Has anybody else seen this It seems to happen at random times -- usually in a section that was previously hidden but was subsequently expanded. I suspect that it has to do with the new (helpful) feature in VS05 that "remembers" outlining states from previous sessions. It's acting like it has suddenly remembered that this section used to be ...Show All

  • Audio and Video Development Sliding menu animation error

    The sliding menu I did in Markup, with Peter's help, is working pretty well. It slides open on start, and closes automatically if a track is selected. However one thing I cannot fix is that after the first time you open the menu while a video is playing, it will no longer animate, it just appears. For example: 1) Start project, after 1s menu slides open. 2) Select track, menu automatically slides shut. 3) Open menu using menu button (CTRL+M) and menu slides open. 4) Select another track and menu slides shut. 5) Open menu using menu button (CTRL+M) and menu DOES NOT slide open, but rather just appears. This will happen everytime you open the menu after step #4 in this example. Any advice on how to debug <timing clock="page" ...Show All

  • Visual Studio Load in Print Preview

    I am using Reportviewer to produce various local reports for my windows application. Is there any way to set the reportviewer to open in print preview, rather than the full screen, list view All comments/suggestions welcome. Yes. Instead of calling ReportViewer.RefreshReport to view the report, call ReportViewer.SetDisplayMode(DisplayMode.PrintLayout). You should replace the RefreshReport call because SetDisplayMode will do it implicitly, ...Show All

  • Software Development for Windows Vista Dreamweaver passwords not being saved

    this is what I get when I open help: (on vista RC2) "Internet explorer cannot download /from help..." Internet working well and is enabled. How to fix it I can only assume that Dreamweaver did this, but your solution worked on my OEM Vista Ultimate. ...Show All

  • Visual Studio Team System TFS: Lock-Modify-Unlock or Copy-Modify-Merge

    I'm researching SCM's for my small team (6 devs) and have a couple of questions about TFS that I haven't been able to quickly find answers to. Does TFS share SourceSafe's inherent Lock-Modify-Unlock work style, or does it contain strong support the Copy-Modify-Merge work style What about support for working in a disconnected-from-the-network fashion Am I correct in understanding that the client (dev's machine) requires Windows 2003 (we can't develop on XP Pro or 2000) Thanks for any help, Skip V. Like SourceSafe, TFS supports both work styles. The default is copy-modify-merge. You can toggle the option at the team project level. To work offline, simply modify files locally and run ' ...Show All

  • SQL Server Can SSIS save the context of errors at the package level?

    Lately, I have been experimenting with SSIS and I created a generic custom error logging component that saves all offending data on data flow component failure. However... Instead of re-directing rows at the data flow level and handling/logging the data at that level, is it possible to catch all of this information at the package level and handle/process it there If so how would you do this Thanks! Tony one quick question..what does SubComponent or HelpFile map to in the event handler Description --> System.ErrorDescription ErrorCode --> System.ErrorCode The reason I ask is I would still like the default ErrorDescription (Component failed at converting from stream to string), and override another ...Show All

  • Windows Forms HelpProvider relation by topic

    Hi, I have question about HelpProvider component. I put it to my form, set HelpNamespace property correctly, determine HelpNavigator of some textbox control as "Topic" and choose HelpKeyword. But it's doesn't work. I try with relation as TopicID: it's work properly. Is it HelpNavigator bug or I don't understand something Note: my .chm help file as it should be contain <topic id="Bla-bla-bla."...> tags. ...Show All

  • SQL Server 2 sql tables to a text file with comma delimited

    hi , I have 2 sql tables. 1 is the header table and another is the detail table. How can I have the header record being appended in the text file and then have the detail records being appended to a same text file again with comma delimited If you are looking for a file like: Header 1 Detail 1.1 Detail 1.2 Detail 1.3 Header 2 Detail 2.1 Detail 2.2 Header 3 etc. You will need to write your own program. If you can construct a query that gives the results you want -- some kind of JOIN or UNION -- then you could create a view that could be BCP'd out. ...Show All

©2008 Software Development Network