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

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

davco

Member List

m_umair_85
tabdalla
Bill Reiss
Venkata Prasad K
tirengarfio
goh6613
Webhostbudd
Juan Carlos Trimiño
Jon Braganza
MillBear
jam281
NickNotYet
paoloTheCool
Shadow Chaser
NBaig
Kea
Viren Kapadia
bluemoon2181
Dan Lingman
Loki70
Only Title

davco's Q&A profile

  • Visual C++ Class wizard

    Hello all, How do I go about adding a message handler i.e ON_MESSAGE(...etc) without the class wizard as in VC++6 Thanks in advance. You'd have to type the macro and the corresponding function declaration/definition into the cpp/h files in manually. You could look at existing class wizard generated code or MSDN documentation to figure out the function prototypes for each type of ON_ macro. ...Show All

  • Smart Device Development How to find LPWSTR device name?

    I'm trying to programmatically turn on/off my wifi device and am following the example posted in the opennetcf forums: http://www.opennetcf.org/forums/topic.asp TOPIC_ID=4266 But the question I have is about the first argument when calling DevicePowerNotify, which is how to find out what my wifi device's name is The example above doesn't work, but if I change the name to "BKL1:" then I can control the backlight, so I think I just need to know the name of the device to get this to work. Apologies if this is a really basic question, I've looked online but haven't seen a good answer; I probably don't know enough to ask the question! Thanks! -Dana Had the same problem. Search the registry for BKL1. It ...Show All

  • Visual Basic Desktop folder question

    Hello, I was using the "My" namespace to reference the Desktop folder, like this: My .Computer.FileSystem.SpecialDirectories.Desktop but it was not showing all the contents of the folder. Another person said that the "My" value returns the filesystem folder corresponding to the desktop and not the Windows shell desktop folder. Is there more than one Desktop What does this mean Thanks for any suggestions. The following My.Computer.FileSystem.SpecialDirectories.Desktop will simple return a path to the current user desktop folder. Every user has there own desktop folders and you can then use something liek the following to return all the files in the folder ...Show All

  • Visual Studio Team System Load test with Unit Test

    Facing the error when trying to run the load test. Error Description :Error LoadTest1 TestProject1 (Computer Name) Could not access the load test results repository: The number of rows inserted or updated by an operation on the results repository (1) did not match the expected number (-1) . Tried setting up the store repository using SQLCMD /S localhost\sqlexpress /i loadtestresultsrepository.sql as I am using the Sql Express. Provided the correct connection string using the "Administer test Controller" yet not able to run the Load test. Help on this highly appreciated. Thanks, Mazzie In the Administer Test Controllers dialog, what does your connect string look like, and does th ...Show All

  • Internet Explorer Development IE6 and FTP protocol issue

    I am attempting to create a website that lists documents that can be downloaded from a password protected ftp site. I was hoping I could link the documents to the ftp site like this: <a href='ftp://webuser@ftpsite.ourdomain.org/webdocs/test.doc'>test doc</a> I've read some sites that suggest this should work, but for some reason I get a page can't be displayed error. I CAN do the following: <a href='ftp://webuser:webuserpassword@ftpsite.ourdomain.org/webdocs/test.doc'>test doc</a> This will download the document but this is no good as including the password in the url defeats the whole prupose of putting the document on a password protected ftp site <a href='ftp://webuser@ftpsite.ourdomain.or ...Show All

  • Visual Studio How do you determine the size of your VSS database?

    I am VERY new to VSS and have been named 'administrator' but given NO training! FUN! I cannot find any option w/in the tool to tell me the size of the database. The actual filesystem where the projects are located have other non-VSS related information. I am using VSS 6.0 Thanks in advance. Hi There is no mechanism within the SourceSafe tool that tells you the database size. The database itself consists of the srcsafe.ini and users.txt files along with the data,users, and temp deirectory. Normally the size of the database is considered to be the size of the data directory (this contains all files and history added to the database) hope this helps. ...Show All

  • Visual Studio How do you Edit text while parsing?

    Hi. I'm working on a custom language-editor by extending the LanguageService-class in the MPF. I'm currently trying to edit the text while parsing. As an example, I want to add a closing brace if one is not present while trying to match bracers: public override AuthoringScope ParseSource( ParseRequest req) { if (req.Sink.Reason == ParseReason .HighlightBraces) { m_parser.setup(req); m_parser.parse(); if (m_parser.noMatchingBracerFound) { if (m_parser.triggeringChar = '"' ) { //add a closing doublequote in front of the one that triggered the bracemathcing //highlight new matching doublequotes } //.... } //highlight bracers } //.... I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Spacewar not working correctly

    Hi, I've downloaded all the necessary components and was playing around with the Spacewar starter kit. I can launch the game but it seems like it's missing a lot of the objects. For example when I start the game I can hear the ship moving around, but I can's see it. Only the jets are visible. Also the background is not visible. The only thing that I can see is the score, the time and a couple graphics in the corners of the screen. The rest is black. Doesn't matter if I start the game in retro mode or not. Am I missing something Thanks. XNA Requires a Direct X 9 compatable video card Hardware Requirements XNA Game Studio Express requires a graphics card that support DirectX 9.0c and Shader Model 2 ...Show All

  • SQL Server Icons for Custom Tasks won't show up.

    All aspects of my custom task work well except for the icon! I have included the .ico in the assembly as an "Embedded Resource" and the icon has both 16X16 and 32X32 images. I have edited the IconResource property of the DtsTask attribute as follows: IconResource="MyNamespace.MyDLLName.MyIconName.ico", Where the output assembly is called "MyNamespace.MyDLLName.dll". Has anybody got this working before The Icon just never shows (I get the default blue square task icon). Thanks in advance. Someone changed it. I updated the IncrementTask sample to include an icon. 1 - Open project and select Add Existing Item, select any icon you have. 2 - Set Icon fil ...Show All

  • Windows Search Technologies WDS 3.0 Beta 2- Rebuilding index by itself and more

    Hey Guys, Brandon pointed this as the right place to post some concerns/issues with the WDS 3.0 beta 2 Few issues with WDS 3.0 beta 2: - When adding a new file extension to be indexed, WDS prompts to full rebuild of the index. This is a very bad behaviour especially, like me that has more than 100,000 indexable items. (anyway to avoid that ) - The WDS is rebuilding the index itself without any user intervention - The current pdf I-filter are not capable to index within the pfd files. - The configuration GUI interface still very rough, clearly need some refining. That's it for now. Thanks, Marcus   If you click cancel when you get that prompt for a rebuild after modifying a file extension, the file ...Show All

  • Visual Basic Visual Basic_my game

    I would like to know how to include a number of times a button has been pressed in Visual Studio 2005 Tanx Use the VB forums Here's the code to do what you are asking Public Class Form1 Private ICount As Integer = 0 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ICount += 1 Me .Text = "You have clicked the button " & ICount.ToString & " times" End Sub End Class ...Show All

  • Architecture dataSet Vs DataReader

    Hi All, I have one question regarding implementing data reader and dataset in my project. My project is a windows application with the database in a separate server. I have numerous records to be retrieved and processed.My application has many master data tables and has many transaction tables too. Is it a good approach to frequently hit database server to get the data using datareader or to get the data using dataset with minimal round trips. Which is good approach Please advice me on this. Thanks in advance. Dear friend,    I hope you find useful guidance at section "DataSet vs DataReader" , chapter 12, "Improving ADO.NET Performance", Patterns and Practices book "Improving .NET Applicatio ...Show All

  • SQL Server Service broker converstation groups

    I'm trying to implement conversation groups, between two databases. the idea is that I want to send messages on different conversations, using the same conversation group. This way when the messages are recieved, I lock all the messages as they're related. For this I've taken the example code from another thread, but this wasn't a true representation of what I'm trying to accomplish. The examle code below shows sending the message from one database to another (on the same server for simplicity, but will ultimatly be between servers in production) When the messages arrive on the targetqueue, I need them to all be group within the same conversation group. The are allowed to have different conversation Id's, but they must all be in the ...Show All

  • Smart Device Development using C/C++ to read SIM card information

    Hello everyone, I am wondering whether there are some samples/tutorials for a beginner to learn how to use C/C++ to read SIM card information on Windows Mobile platform thanks in advance, George Thanks man! I have downloaded the SDK you recommended. But... when I run this program, it seems that it does not have direct relationship with my question :-) In the sample, I have not found where it reads the SIM card information (like SIM card ID). Could you help to point it out please Or there should be more appropriate sample regards, George ...Show All

  • Visual C# NetworkStream doesn't support seeking

    I want to play sound from network stream. For playing sound i use directsound, but when i try to create SecondaryBuffer: try { ApplicationBuffer = new SecondaryBuffer ( this .netStream, ApplicationDevice); } catch ( Exception ex) { MessageBox .Show( ex.ToString()); } i'm getting error that netStream doesn't support seek operation. I know that property "Seek" of NetworkStream is ReadOnly... how can i work around this problem You can read a block from the NetworkStream and fill a buffer (byte array) with it, then you can use a MemoryStream to Stream a specific buffer piece to the SecundaryBuffer: byte [] networkBuffer = new byte [ 8192 ]; int bytesReaded = networkStream.Read(net ...Show All

©2008 Software Development Network