Software Development Network Logo
  • Microsoft ISV
  • Windows Forms
  • Smart Device
  • Visual Studio
  • Visual FoxPro
  • SQL Server
  • VS Team System
  • Visual Basic
  • Windows Live
  • Visual C#
  • Visual C++
  • Visual J#
  • Game Technologies
  • Architecture
  • Windows Vista

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

danprime

Member List

Frank Szendzielarz
lan yu
Larry Cleeton
ZJames
McPlot
George Hannah
bswick
Wendy_B
Steven Randolph
C.R.B.
Hoahai
Krishan Ariyawansa
Le Sage
Learner1
naila
APommePote
Eric2002
Wayne Tanner
Mark-OG
Mark Storen
Only Title

danprime's Q&A profile

  • Windows Forms Can you trap a DataGrid Delete row event?

    Does anyone know how to detect a DataGrid delete row request I have a DataSet bound to a DataGrid and I want to validate the action before the row is deleted.     The DataGridView has an event UserDeletingRow that can be canceled. ...Show All

  • Visual C++ The debugger isn't displaying std::wstring values

    I have tried to use an std::set<std::wstring>, and the debugger appears to have a problem with displaying the values that are stored in the set (this also happens when using std::wstring as the key value in a map. Sample code: #include <set> #include <string> int main() { std::set<std::wstring> test; test.insert( L "1234567" ); // this is displaying correctly in the watch window ...Show All

  • Visual Basic random command

    Hi I'm ussing the random command but I only want it to pick numbers between 8 and 640 and can be multiplied with 8. is this possible Dim TmpRandom As New Random() Dim Value As Integer = TmpRandom.Next(8, 640) ' generates any number betwen 8 and 640 ' now if you want to make sure the number is divisible by 8 make sure you do this Value = CType (Value / 8, Integer ) * 8 ' This ...Show All

  • Visual Basic WebBrowser

    How can I make my browser control loads local html files I tried Navigate but it asked for internet access (per my firewall). Is there anyway to make the browser offline at all times Would that work for any web page. Even if it had external images or css or js files I tried this also: Browser.Navigate("file:\\\index.html") That makes it not ask for internet access but it says it cannot find the file. And the file is in the same ...Show All

  • Visual Studio Comparing a local file to a previous file version in VSS

    "isdifferent" wont work coz it only compare the most recent version of the file against my local.. i need to know any alternatives for solving my problem.. thankyou very much/// i need to compare an old version of a VSS file to my local if they are identical... I think you may be able to get an IVSSItem for the previous version by using IVSSItem.Version() or by obtaining it from a IVssVersion, then call IVSSItem.IsDiffe ...Show All

  • Smart Device Development UserControl in .Net Compact Framework v1.1

    All who can help, i'm making a small .net application for a windows Ce .NET device, but i was wondering, is there any change to make a custom control or use usercontrol and add them at design time to one of my forms   So 2 questions: 1. Usercontrols are not supported in v1.1, do they in v2.0 If not can i use something else The reason i ask is that, i wrote an multi-panel application (One form which is always updating his panels (with userc ...Show All

  • SQL Server Converting a Hex String to a Varbinary or vice versa

    I'm using SQL Server 2005. How can I convert a hex string to a varbinary or the opposite of that For the opposite, the easiest way is to use the built-in (but undocumented) function, fn_varbintohexstr:   DECLARE @x BINARY ( 16 ) SET @x = NEWID () SELECT master . dbo . fn_varbintohexstr ( @x )   ... Going the other way around is not quite so straightf ...Show All

  • .NET Development Router's public ip address

    Greetings All, I have a windows application that is installed at numerours client locations . I want to detect the router's public ip address. Anyone know of a quick and easy way to do this programmatically Thanks, Anz Likely, the router will be the default gateway. You can get the gateway addresses via: public static void DisplayGatewayAddresses() { Console.WriteLine("Gateways ...Show All

  • Smart Device Development DirectShow filter

    I'd like to build a DirectShow filter for Windows Mobile 2005 Pocket PC but it appears that the SDK lacks quartz.lib. Please give me some direction as to where I can obtain quartz.lib for the SDK. Thanks, Jonny I assume you mean to literaly write your own Filter using the Filter helper classes as defined in streams.h. I don't think the quartz.dll is needed. In any event it is not there. I did find Strmbase.l ...Show All

  • .NET Development .NET Remoting Bug - fixed in 1.0 SP3?

    All, Can anyone tell me whether the bug mentioned at http://support.microsoft.com/default.aspx scid=kb;en-us;322975 was fixed in the .NET Framework 1.0 SP3 Thanks Matthew ...Show All

  • .NET Development why the property AllowDBNull of the datacolumn is always true?

    why the property AllowDBNull of the datacolumn is always true even the property of that field didn't allowed null in original DBMS could you tell me You need to call FillSchema in order to fill in the AllowDBNull property, among other properties (see the FillSchema documentation for details). For example: using (SqlConnection sqlConn = new SqlConnection(connStr)) { sqlConn.Open(); SqlCommand cmdS ...Show All

  • Visual C# (Johan still around:) Settings declared internal when autogenerated???

    In relation to this question I had concerning how to access settings that are declared in another project: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=116815#116815, I have some concerns with the way VS2005 beta 2 sets up the Settings file. When you create a Settings config file, it creates a Settings class that is marked internal to the Properties file. For example, the generated code from one I just created looks like: namesp ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Meshes intersection

    There is one method in DirectX API to try intersection between meshes . All functions I see are for mesh and ray combination. If not I'd like to know one good method. The problem with including generalized collision detection is that different games will need to emphasize/deemphasize different things.  For example, does the game take place indoor or outdoor   Is it a flight simulator, a shooter, ...Show All

  • Windows Forms Drag n' drop

    is there any way to change the drag/drop rectangle of a control when dragging it i have a custom designer of my control , but i would like it to display something else or atleast position the drag drop rectangle while moving the control. any&n ...Show All

  • SQL Server Error importing data from oracle database to an SQL database

    Hi! When i was importing a database table from an Oracle Database to a SQL database table, the wizard returns this error: Could not connect source component. Warning 0x80202066: Source - VB_PERMISSIONS [1]: Cannot retrieve the column code page info from the OLE DB provider.  If the component supports the "DefaultCodePage" property, the code page from that property will be used.  Change the value of the property if the current string ...Show All

©2008 Software Development Network

powered by phorum