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

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

Gusbin

Member List

toront
johnpen
Shinra
Tobias Boehler
vsnewbie
mohaccc
flocke
Phil333
jgunning
Graham Stanbury
neil walker
PhilWilson
Jensk
Kyle101
Jedimark
david2112
frank_r
DarrylW
jhoop2002
Ahmad_ADSC
Only Title

Gusbin's Q&A profile

  • Windows Forms Autocomplete speed/delay

    Hello, It's strange how "little" UI features really annoy the users. We're producing a large .NET Winforms application. It uses VS2005 Combobox autocomplete. The main complaint is that the autocomplete "restart" delay is too quick (pause to think and the autocomplete times out, and restarts...) Does anyone know how to control the time delays in autocomplete (time between keypresses to restart the autocomplete search for example) Thanks, Dr Michael Dye I can't believe it's been over a year since I posted this; and no, we're no nearer to a solution. It's something people have ...Show All

  • Microsoft ISV Community Center Forums Outlook experienced a serious error: 'microsoft vba for outlook addin'

    Hi, I wonder if anyone can help me with this problem I have been getting. I wrote a macro in Outlook that strips unwanted text from the Subject line, here it is: Sub CleanDC() Dim OutlookApp As Outlook.Application Dim myNamespace As Outlook.NameSpace Dim myItems As Outlook.Items Dim myItem As Outlook.MailItem Dim dcFolder As Outlook.MAPIFolder Dim s As String Set OutlookApp = CreateObject("Outlook.Application") Set myNamespace = OutlookApp.GetNamespace("MAPI") Set dcFolder = myNamespace.GetDefaultFolder(olFolderInbox).Folders("Lists").Folders("DC") Set myItems = dcFolde ...Show All

  • Visual Studio 2008 (Pre-release) Viewbox automatic resizing

    hello, I posted this issue earlier, but nobody replied, so I'm gonna try it again. when I'm using a viewbox as part of the imagebrush, my imageproperties are set to 72dpi. When the imagebrush is rendered, it get's resized to 96dpi. This makes the image quite blurry. Can I prevent this from happening For example by defining the rendering dpi-size of the viewbox Need this very badly, Kimme Hi Kimme, If your using the default ImageBrush values, then it sounds like the problem your running into is with the default value of 'Stretch'. Set this equal to 'None', and your image will not be stretched. ...Show All

  • Visual C# Having difficulty running TCP remote client from other computer

    Hi Support, I have getting error when i run my TCP remote client from different computer. NativeErrorCode : 10049 System.Net.Sockets.SocketException: The requested address is not valid in its co ntext    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Objec t data)    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary pr operties, IServerChannelSinkProvider sinkProvider)    at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properti es ...Show All

  • Visual Studio 2008 (Pre-release) Using custom base page in Browser app (February CTP)

    Hi! I'm building a Browser app and would like all pages in my project to subclass my own implementation of Page (which is a subclass of System.Windows.Controls.Page). The only problem is that the class is partially defined in the "code behind" file of the XAML document, and partially in the .cs file generated by Visual Studio. If I specify my own base page as the base class of my page, the compiler gives me the folloing error: Partial declarations of 'WinFXXAMLBrowserApplication1.Page1' must not specify different base classes. How would one go about doing this Thanks for any help. ...Show All

  • Software Development for Windows Vista ASP.Net and SQL Persistance?

    I am creating workflows in a ASP.Net Form with the Workflow and Persistance declared in the Web.config. This was functioning fine in Beta1. After making what I believe the new declarations to be, I seem to be unable to persist in this new version. Anyone else have similar problems Joe, What kind of problems are you having with persistence Could you post any exception messages or any other info detailing the issue Thanks! Arjun ...Show All

  • Visual Studio 2008 (Pre-release) How to force visuals to get rendered?

    Hi, I’m programmatically creating shapes, like rectangles, and putting them in a canvas. I now want to be able to call functions like VisualTreeHelper.GetDrawing and VisualTreeHelper.GetContentBounds. The problem is that GetDrawing for my rectangle returns null, since it has not been rendered yet. I’m using VisualTreeHelper when I’m writing unit tests, so I somehow need to force WPF to render the visuals, without actually having the canvas rendered visibly. I’ve tried InvalidateVisual(), but I guess it just thinks that it doesn't have to be rendered so it does nothing. Is there a way around this / Joel try ...Show All

  • SQL Server Performance problem with SQL Server Express

    My current database is running in MSDE. I setup a new server and installed SQL Server 2005 Express. I then copied the database to the new server and attached it. After testing the new server, I noticed that one of my stored procedures that uses a forward_only keyset cursor is running about ten times slower. I’ve compared all the setting between the two servers and everything looks good. I also installed a trial copy of SQL Server 2005 on a spare PC and ran the same test. Again, the stored procedure is running about ten times slower. I’m not experiencing any other performance problems. Any help would be appreciated. Thanks ...Show All

  • Windows Forms Passwords in DataGridView

    I need to display usernames and passwords in a DGV, and I have 2 questions : How do I display the password as a string of asterisks Right now, I am storing them in a List<string>, and then doing something like this foreach ( DataGridViewRow row in dataGridView.Rows) { string s = "" ; for ( int i = 0; i < passwordList[row.Index].Length; i++) s += "*" ; row.Cells[ "passwordColumn" ].Value = s; } Is there a better way to do this When the user sorts by a column, and then "unhides" the passwords, the order of the passwords is incorrect. This is because upon unhiding, ...Show All

  • Visual C# How to insert actual datetime with seconds into sql express database ?

    Hi On buttonclick i want to create a variable with startTime. Clicking the same button again should create a second variable with endTime. Clicking the savebutton then should create a new row in my dataset and insert the two datetime variables. I've created a MatchTable with following colums: MatchID int (isIdentity) PlayerName1 nvarchar(50) PlayerName2 nvarchar(50) PlayerPoints1 int PlayerPoints2 int MatchBegin datetime MatchEnd datetime I'm working with VC#Express Thank you very much ...Show All

  • Visual Studio 2008 (Pre-release) ListView selection

    Whatis the correct way to handle selection in a ListView I could add a MouseDoubleClick eventhandler, but this is not called on keyboard selection (pressing enter) Best regards, Thomas Andersen With the code bellow, MyCustomCommand is executed when I select an item and press ENTER. However, if I double click an item, it is NOT executed. Any idea why <ListView.InputBindings> <KeyBinding Key="Enter" Command="app:MainWindow.MyCustomCommand"/> <MouseBinding MouseAction="LeftDoubleClick" Command="app:MainWindow.MyCustomCommand ...Show All

  • Windows Forms For Loop in a datagrid: Windows vs Web. I am SOOOO lost!!!!!

    I am writing a WINDOWS form with a datagrid where i need to run a loop and basically flag every item (containers to be shipped in this case).  Now, I've done this with a webform and have had no problems what so ever with it but when it comes to a Windows Form the controls are differnt i.e., namespaces I can't perform the same f ...Show All

  • Windows Forms Can't view Form in Designer

    Hi, As i am a first time user on Visual Basic 2005 Express. I had followed the whole Starter kits for new project - after applying the template, surprisingly, there isn't any form (Form1.vb[Design]) and tree view of such form under "Solution Explorer". Since creating the project, the form should pop up automatically. What should i do next Cheers! Hi Ben, Being the beginner on VB2005 Expr Ed, the steps taken, were from the Virtual Tour (of 16hrs long), which i was watching the video (run on Media Player) and applying the steps into creating a desired project. Initially, when Click on "New Project", select ...Show All

  • Visual Basic password in access

    Hi! Happy new year  to all VB Guru out there my previous query was solved in a couple of days, I am stuck again, i am doing a project with access has a database and VB 6.0 has a front end. I want my database to be password protect i.e if any dblclick access file it must ask for a password. Can i link a password protect access file to VB if tried but error like worksheet file not found was thrown, can any VB GuRu out there let me know the steps in accomplishin the task. Also i want in my project to display mathematical formulas, has some fine guy know how to store mathematical formula( like sin2A + Cos2A=1 here '2' must be ...Show All

  • SQL Server SQL Server Destination [16]

    [SQL Server Destination [16]] Error: An OLE DB error has occurred. Error code: 0x80040E14. An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E14  Description: "Could not bulk load because SSIS file mapping object 'Global\DTSQLIMPORT              ' could not be opened. Operating system error code 2(The system cannot find the file specified.). Make sure you are accessing a local server via Windows security.". I'm trying to do a simple upload to a production server from an Access mdb of the kind I used to do routinely in ...Show All

©2008 Software Development Network