Software Development Network Logo
  • .NET Development
  • SQL Server
  • Visual C++
  • Smart Device
  • Visual Studio
  • Architecture
  • Visual J#
  • Windows Forms
  • Game Technologies
  • Windows Vista
  • VS Team System
  • Windows Live
  • VS Express Editions
  • Visual C#
  • Visual Basic

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

rvghst

Member List

Sanjay659
J Mike Rowland
Wim Verhaeghen
Vikash Sharma
yuvin
wenliang
Don Crawford
sl1pm4t
David P.
Artur H. Shamsutdinov
RGrizzzz
Howez
Joe McGrath
Morcollo
Armadon
Carl Bruneau
Farhan234
Dan Krause
live cricket audio commentary
wacher
Only Title

rvghst's Q&A profile

  • Visual Studio "Version Not Found" error in automation

    Hi I'm writing some SourceSafe automation to get specific versions of files. I'm writing in VB.NET and SourceSafe is version 6.0.d When I identify the version of the file I want and issue the GET command it fails with "Version not found". Obviously this is wrong because I've just correctly identified the version. This is my code... ................................................ If vsVersion.Label = strLabel Then Try vsThisItem = vssSelectedItem.Version(vsVersion.VersionNumber) vsThisItem.Get(vssSelectedItem.Parent.LocalSpec + "\" + vssSelectedItem.Name) ................................................. ...Show All

  • Windows Forms Does the user consent prompt list the permissions the app is asking for?

    From http://www.windowsforms.net/FAQs/default.aspx PageID=2&ItemID=63&CategoryID=24&tabindex=2: > Does the user consent prompt list the permissions  > the app is asking for        >  > No. We looked into this, however, the user consent  > prompt is targeted at end-users. Translating code  > assess security permissions to something meaningful  > & helpful to th ...Show All

  • Windows Forms Easiest way to get the Datagridview's text while editing?

    I want to capture the text while the user is typing in a datagridview textbox cell. So far, I've read that I have to use the Editingcontrol in some way. Thanks for any help! I would do the following: Private Sub dgv_EditingControlShowing( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles dgv.EditingControlShowing If e.Control.GetType.ToString() = "System.Windows.Forms.DataGridViewTextBoxEditingControl" Then Dim c As DataGridViewTextBoxEditingControl = DirectCast (e.Control, DataGridViewTextBoxEditingControl) Remo ...Show All

  • Visual Studio 2008 (Pre-release) Property Triggers in Control Templates

    I'm changing the template for a radio button but my property setter seems unable to find the TargetName i've specified. I'm finding getting these scopes correct in WPF to be fantasticaly frustrating. How can I get this setter to work: The error I'm getting is: Error at element 'Setter' in markup file 'Window1.xaml' : Cannot find the Trigger target 'checkBoxViewBox'.. < Window x:Class = " WindowsApplication12.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:sys = " clr-namespace:System ...Show All

  • Visual Studio Team System NUnit or VSTS Team Test

    Discuss.... We have mstest.exe for running tests from the command line (in case you're not using MSBuild.exe) and we also work with msbuild's "tasks" where you can specify which tests you'd like to run.  These are authored from the UI when you're creating a new "build type" as part of VSTS. Tom ...Show All

  • Visual C++ LNK2001 Error

    Hi all, I managed to include dcmtk and cxImage classes in DCM Converter. But still i am getting some errors. --------------------Configuration: DCMConverter - Win32 Debug-------------------- Compiling... xImageDCM.cpp Linking... xImageDCM.obj : error LNK2001: unresolved external symbol "public: virtual class OFCondition __thiscall DcmFileFormat::saveFile(char const *,enum E_TransferSyntax,enum E_EncodingType,enum E_GrpLenEncoding,enum E_PaddingEncoding,unsigned long,unsign ed long,int)" ( saveFile@DcmFileFormat@@UAE AVOFCondition@@PBDW4E_TransferSyntax@@W4E_EncodingType@@W4E_GrpLenEncoding@@W4E_PaddingEncoding@@KKH@Z ) ...Show All

  • Windows Forms Sending PDFs to a printer

    Hi, I am trying to write a web service which will take a few thousands of PDFs from a shared folder and send them to multiple printers for printing. All these should happen without any user intervention. Can anyone teach me how to go about doing that in c# The printdocument class in .NET does not seem to be suitable. Can anyone help me or point me to some other resources I do not have the luxury of buying third party components to assist me on this task. Thank you very much!! I managed to find a way of doing this by calling an external process in my .NET code. Below are the codes that I use. Pro ...Show All

  • Windows Forms Blank Rows in DataTables

    I've implemented a function to insert a blank row into my datatable, however, I'm running into a few issues with it. Namely, it's not adding a blank entry for all the columns. Is there a way to iterate through the columns in my combobox, and based on the datatype of the column, insert the appropriate blank value Currently I have the following: Friend Shared Function InsertBlankRow( ByVal Source As DataTable) As DataTable Dim myNewSource As DataTable = Source Dim myBlankRow As DataRow = myNewSource.NewRow Dim i As Integer MessageBox.Show(myNewSource.Columns.Count) For i = 0 To myNewSource.Column ...Show All

  • SQL Server Setting a Schema Context for a Session

    Is there a way to specify a given Schema as the currently active one for a given database session i.e. im looking for somthing like: Use Schema=<name> Execute Queries / Stored Procs, etc ..... I want all the Queries and Stored Procs to execute on the Schema set initially. I can't use the Default_Schema on the User to do this due to certain restrictions in the way we create users and Schemas. I know that i can always qualify the objects in the Queries with a Schema Name, but i have a requirement where the Queries need to be generic in nature and need to run on one of many identical schemas in the Database. Is this Pos ...Show All

  • Smart Device Development help with WSAAddressToStringW function

    hi all, after i complete a Bluetooth search im left with a query set: LPWSAQUERYSET pwsaResults; i want to extract Bluetooth address from that query and store it as a sting for display later. <code> ::LPWSTR strPtr; ::SecureZeroMemory(&strPtr, 12 * sizeof (wchar_t)); // 00:00:00:00:00:00 ::DWORD strSize = sizeof strPtr; ::WSAAddressToStringW(pwsaResults ->lpcsaBuffer ->RemoteAddr.lpSockaddr, pwsaResults ->lpcsaBuffer ->RemoteAddr.iSockaddrLength, NULL, strPtr, &strSize); </code> it doesnt work, what am i doing wrong ...Show All

  • Visual Basic Mathmatical Equations

    Im new to the VB language so forgive me if this sounds stupid. I am programming in Visual Studio 2005 Express Edition if it makes a difference. I have created my first program but i need it to diplay decimal values as fractions, as well as i need those fractions in simplist form. Example: X = .8888888889             If the decimal is converted to a fraction it must be 8/9, and no other fraction. Thanx I'm not a math major, so I suspect you can find a much more efficient algorithm on one of the code/algorithm web sites to do what you are tryin ...Show All

  • Windows Forms Sluggish performance 2005 final release - Us or MS?

    We have a windows application, originally developed in VS 2003, now in VS 2005 final release, using Visual Basic.  It has become painfully sluggish to design in, though the speed when running the app is fine.  My PC is a Pentium 4, 2.5 ghz with one meg ram. I can not tell if the problem is with us and the way we designed the solution, or if it has something to do with Microsoft and Visual Studio as a whole.  I realize that you are capable of having a field day on my ignorance but hope you will resist the temptation. When opening the app it takes 3 minutes before we can actually get anything done. The Solution Explor ...Show All

  • Visual Studio Team System Team Foundation Server API Documentation

    I'm wanting to write a custom checkin policy and have got the right assembly referenced, but am somewhat disappointed at the lack of in-line documentation on the API. I.e. - there's no XmlComments around the API's public methods (and accordingly, no intellisense) and thus far, I've been unable to find the reference anywhere online. Still looking, but can anyone speed up my search The following blog posts will help you get up to speed on writing a checkin policy. http://blogs.msdn.com/jmanning/archive/2006/01/21/515858.aspx http://blogs.msdn.com/jmanning/archive/2005/09/16/469217.aspx The API document ...Show All

  • Visual C# Why won't my variable initialize in an overriden function?

    OK, I'm having a very peculiar problem here. I've got a modified DataGridViewTextBoxCell where I want to override the GetFormattedValue function to handle complex types in my data source. The problem is that I can't seem to initialize simple datatypes inside this overriden function. Here's the code: protected override object GetFormattedValue( object value, int rowIndex, ref DataGridViewCellStyle cellStyle, TypeConverter valueTypeConverter, TypeConverter formattedValueTypeConverter, DataGridViewDataErrorContexts context){ Citation tempCitation = new Citation (); ARTData tempARTData = new ARTData (); ...Show All

  • SQL Server Inconsistent package failures

    I'm debugging my first SSIS package and is getting inconsistent results. The package does not always complete successfully. When the package does fail, it fails at different tasks that accquire database connections. Any of the following error message would show up: [Execute SQL Task] Error: Failed to acquire connection "FORGE.FMC". Connection may not be configured correctly or you may not have the right permissions on this connection. [OLE DB Destination [6374]] Error: The AcquireConnection method call to the connection manager "FORGE.FMC" failed with error code 0xC0202009. [Connection manager "F ...Show All

©2008 Software Development Network