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

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

Billr17

Member List

Kevin Rodgers
Jakein2006
ŁukaszS
pqjr
hrubesh
sanwanas
_mthz
Gianluca Colucci
vkv
AlexBB
Magannahan Skjellifetti
Radith
CBuilder
RoobyDoo
Tyrael117
game-maniac
ralanjackson
TELII
bennett1016
00Negative
Only Title

Billr17's Q&A profile

  • .NET Development Stepping Through Automatically generated code and JMC.

    I have created a hyperthetical example of code which is the output of a CodeDom Graph. I have used the linepragma property in the codedom to create a mapping between and externalcode.txt and the generated code. This has been realised by the #ExternalSource statements. 01: Public Class Example 02: Public Sub New() 03: Dim a, b, c As String 04: 05: #ExternalSource("ExternalCode.txt",1) 06: a = "hello" 07: #End ExternalSource 08: 09: b = "World" 10: 11: #ExternalSource("ExternalCode.txt",2) 12: c = "Test" 13: #End ExternalSource 14: End Sub 15: End Class My question is how I can get mdbg to "Step" only over the lines of code that have a mapping to ExternalSo ...Show All

  • Visual Studio Express Editions Mouse and Keyboad events question

    I am trying to process some data using an external application. This external application processes data from a binary file and performs some algorithm on it. I would like to automate processing these files and send the processed data to the database. To do this I have tried to use the user32.dll library and the FindWindowA, mouse_event and setCursorPos functions. I am also using the SendKeys function as well. Everything seems to work fine until I use the mouse_event function is called. After I use the mouse_event function then the SendKeys function no longer responds. All these pieces of code work fine seperately but when I put them together they do not work. Any help is appreciated, Thanks, price private void button1_Click ...Show All

  • Visual Studio Tools for Office Ribbon button getimage callback ok,but image is not displayed,why?

    I have a button that has a GetImage callback. outlook may call GetImage function ,and ppdispImage has been set. But image has not displayed always. This is my code.could anyone tell me where code is incorrect (hr is s_ok) thanks extern "C" HINSTANCE g_hInst; STDMETHODIMP COLAd::OnGetImage(IDispatch* pControl, IPictureDisp** ppdispImage) { HRESULT hr; HANDLE hIco; PICTDESC d_PICTDESC; hr = E_NOTIMPL; hIco = NULL; d_PICTDESC.cbSizeofstruct = sizeof(PICTDESC); d_PICTDESC.picType = PICTYPE_ICON; hIco = LoadImage(g_hInst,MAKEINTRESOURCE(IDI_ICON1),IMAGE_ICON,12,12,LR_SHARED); if(hIco != NULL) { d_PICTDESC.icon.hicon = (HICON)hIco; hr = OleCreatePictureIndirect(&d_ ...Show All

  • Visual Studio prompt user from MSBuild command line?

    Hello, If I use msbuild.exe from the commandline, is there a way to prompt the user For example, if they issue a Build command, say for the Production configuration, can I say, "Are you sure you want to execute the Build for the Production environment " Thanks!! Not in my opinion either. Looking to see if there is a way to prompt on the command line...Rather not have to code a custom task for it, but I suppose if I did, I could include it in the <Project> element's InitialTargets attribute to ensure it runs each time, but I would need a way to hook into the command line. ...Show All

  • .NET Development [C#] How to login with Passport or Windows Live ID?

    Hello, I'm writing a C# tool for Windows (.NET 2.0) and i want to kow if there is a SDK or tips to login with a Passport or Windows Live ID account Thanks. http://msdn.microsoft.com/msdnmag/issues/02/09/Passport/default.aspx PASSPORT SDK page on msdn is a good resource ...Show All

  • Visual C++ How to use ASCII to some fromat

    I have a device If I want to Command: (PC) ->device its' format is STX + NAD + LEN + INS +{DATA} + LRC (the Type : ASCII) STX : 02H NAD : 01H I gauss they can use (System::Text::Encoding ^chr) STX = chr->GetMaxByteCount (02); ,is right NAD = chr->GetMaxByteCount (01); I see VB language STX = chr(02); So I gauss !!!! INS:Instruction(In Hex format) ,it has a form, example: when INS = 09 then do something If I gauss wrong, how can I to do well Thanks for your help!!! I assume you're using the SerialPort class. Try something like this: #include "stdafx.h" using namespace System; using namespace System::IO::Ports; const int STX = 2; const int NAD = 1; int main(array<Syst ...Show All

  • Windows Forms Creating installation setup

    How shall I create an installation setup program for my application What program should I use. I want to deploy my application into various directories and such. Is there something built into Visual Studio take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=827924&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=829203&SiteID=1 hope it gives you a starting point ...Show All

  • Visual Studio Express Editions re- teddy bear

    guys I have no desire to become involved in your squabbles......but let me say this... I asked a question, carsten was kind enough to answer....thanks carsten..... I will be in touch.....and although I have nothing against someone recommending a book......that is not what I want....I will go with carsten..... and I dont think this post was off topic until someone turned it into a personal issue there was a time not too long ago when these forums were very helpful..... but it is becoming more and more obvious that lately the emphisis is more to do with gaining points rather than helping......and I dont like it..... who locked the original thread ...and why. .....this is not right.... we are all entitled to out point ...Show All

  • Windows Forms DragDrop

    Hello I have a problem with dodragdrop function. When i add DoDrapDrop function to the MouseDown Event the Click and DoubleClick events are not triggered anymore. I created a new control derived from usercontrol. Does anyone knows how to solve this. Thanks, Jan private void picThumbnail_MouseDown( object sender, MouseEventArgs e) { Control source = ( Control )sender; source.DoDragDrop(source.Text, DragDropEffects .None); lblFileName.Text = "dragdrop" ; } private void picThumbnail_DoubleClick( object sender, EventArgs e) { lblFileName.Text = "double" ; // not executed when double click the control } H ...Show All

  • Software Development for Windows Vista Sample grabber callback / one shot for audio samples

    Hi DirectShow forum, I would like to use the sample grabber to get uncompressed PCM audio data out of my filter graph to play using other means (i.e. not a DirectShow renderer). The sample grabber "one shot" mode would be the ideal solution to this problem, becuase it would allow me to create a simple GetSample function which advances to the next sample and returns the data. Unfortunately, the "one shot" mode is completely broken (as anybody who has attempted to use it already knows...) I can't use the callback functions because my application for the sample data does not match the playback rate of the graph. It would be possible to use the callback functions if I could reliably pause the graph after each callback, allo ...Show All

  • Visual C++ TerminateThread ???

    In MSDN it is mentioned that TerminateThread is dangerous function and given some disadvantages of using it. So we should never use TerminateThread If so then what is the use of this function Consider a situation where I am calling a function from third party library and that function some time takes long time to return may be 5 hours or may be more than a day (I am not sure about the reason and that is not in my control). I need to implement some timeout mechanism so I called that function in a thread and waiting for 15 minutes to return it and then terminating the thread and proceeding further. The thread is just calling that function doing nothing else. So is it ok if I call TerminateThread to terminate that thread after tim ...Show All

  • Visual Studio Express Editions Problem with more than 2 projects

    In VB 2005 express when creating and reopening 2 small projects, everything is O.K. However, when I save a third small project and then try to reopen it from the recent projects list, it wont open. I have over 1 gig ram, so that shouldnt be a problem. Is there some kind of setting for maximun number of projects allowed that I can change It doesn't give an error when I try to open it. The hourglass appears for a second and then disappears and nothing happens. No form for the project appears. I can create as many new projects as I want, but after clicking save all, I can only reopen the first 2 projects I created. I am just trying to learn vb 2005 and following examples in a book so these are very small projects. I am using Windows ...Show All

  • Visual FoxPro System resolution

    Hi. How can I find out what the system resolution is, and how can I change it via FoxPro Thanks Misiacik7 wrote: You mean the right way how to do that is to resize the form I tried, it works but if I want to run this form on 640X480 I have to degrease the font size of all of the controls some to value of 6. You do not say which version of VFP you are using, but you could always set the ScrollBars property of the form (if the version you are woking in is recent enough to have scrollable forms) to .T. Then, if someone prefers to have their screen resolution set to 640 x 480, you can still use a reasonable font size. Misiacik7 wrote: Please do not solve why to do that, if an ...Show All

  • Visual Basic Casting Error returning IEnumerable from KeyValue Pair

    Hi Everyone, I'm getting a casting error in a class (called Panel) that stores a list of child controls on the panel (including other panels). The issue however is a casting error in the line " Return Pair.Value" in PreOrderVisit below. The error is: Unable to cast object of type 'Label' to type 'System.Collections.Generic.IEnumerable`1[BaseControl]'. Private Shared mControls = New SortedList( Of String , BaseControl) Public ReadOnly Property PreOrder() As IEnumerable( Of BaseControl) Implements IContainer.PreOrder Get Return PreOrderVisit( Me ) End Get End Property Private Function PreOrderVisit( ByVal Container As IContainer) As IEnumerable( Of Bas ...Show All

  • Visual Studio Team System Needed IIS and NTFS Permissions

    Good day! Knowing me I've probably missed something, but after installing TFS the two admins (myself included) are the only ones who can connect. Being somewhat familiar with IIS and NTFS Permissions (actually just enough to be dangerous) we noticed that <machine-name>\Administrator, <machine-name>\IIS_WPG, and SYSTEM are the only users/groups who have have access to "D:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services" directory. Should a group like <domain>\Domain Users also have access If so, any idea at what level and why the install would not have set this for us Thanks! I looked under "Custom Details" in the Event Viewer and there is only: &qu ...Show All

©2008 Software Development Network