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

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

username

Member List

engmohamedsalah
Mark Langan
RavenSensei1
Bhushan Akole
Barnabas
Jose Bucay
exina
Alpicus
James Hicks
Fadi Al-Sheikh
SixSigmaGuy
El Marcus
grissett
jazman58
Marco Retamales
Seabhcan
KlausWiesel
KBeBo
Miguel B
AndrewEames
Only Title

username's Q&A profile

  • Visual C# C# .NET Naming Conventions

    Does anyone know where I can find a list of naming conventions for UI elements.  I found a bunch of places where they have variable, property, method, event handler, formatting style, etc. conventions.  But I am having a hard time finding naming conventions other than the Visual Basic 6.0 Naming Conventions on Microsoft's website. As the programming world is rapidly moving away from hungarian notation, it's easy to state that you should not use it, or any type of prefixed notation. Naming textboxes "txtThisAndThat" or strings "strThatAndThis" is unnecessary, since the IDE can give you the type and ...Show All

  • Windows Forms DataGridView with two-row elements - how to sort? (Two DataGridViews linked together)

    I have two DataGridViews (in Visual Basic 2005). The first DataGridView displays a list of fonts and their filenames, with font name being the first column, filename being the second column, and each font using one row per font entry. The second DataGridView displays previews of the fonts listed in the first DataGridView. However, this preview view uses two rows per font - the first row is the preview of the font, which is shown in a large size, and the second row is the name of the font (for the purpose of comfort - not all fonts are readable!). My problem is as follows: - When someone clicks on a column in the first DataGridView, the DataG ...Show All

  • Visual C++ SOS:VC2005 B2 Express VC++ Directories Problem

    I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories". screenshot: http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg is this bug this is a BIG PROBLEM!!   NNTP User wrote: ... 1. Create a directory "PlatformSDK" under "%ProgramFiles%\Microsoft Visual Studio 8\VC" 2. Copy the "bin", "include" and "lib" directory from the PSDK-installation into this directory. Then you do not need to change any config file. ... Thank you very much. I just encountered the same problem and found this thread. ...Show All

  • Visual Studio Property visibility problem

    Hello, here is the build file that I have: < xml version="1.0" encoding="utf-8" > <Project DefaultTargets="Test" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <PropertyGroup> <Bobby>Default</Bobby> </PropertyGroup> <Target Name="Test"> <Message Importance="high" Text="Bobby = $(Bobby)" /> <CallTarget Targets="Test2" /> <Message Importance="high" Text="Bobby = $(Bobby)" /> <CallTarget Targets="Configure2" /> <Mess ...Show All

  • SQL Server Urgent help needed! Report Manager Problem with Custom Authentication

    After configuring exactly as specified in reporting services custom security, when I try to hit report manager, I keep on getting the error: Invalid URI: The format of the URI could not be determined. It does not redirct me to UILogin.aspx page but forwards me to Pages/Folder.aspx and gives this error. Please if possible let me know ASAP. I have the following in "rsreportserver.config" file <UrlRoot>http://<computername>/reportserver</UrlRoot> I have tried using "localhost" instead of computer name in the above line. Secondly, when I hit report manager, I thought it ...Show All

  • Windows Forms How 2 prevent a form resize when double clicking its title bar ?

    Dear all. I want 2 have a title bar but when it is being double clicked my beautiful form getting resized (should B maximized at all times) I was trying 2 handle the Resize event - but how can I catch the resize and send a cancellation message instead Any help, clues or samples R very blessed. You can set the minimum and maximum size of your form.  If you set these to the screen res, then even if the user double clicks, the form will not resize.  It's a bit user hostile tho, why can't your form resize itself to whatever part of the screen the user wants ...Show All

  • Visual Basic Strange datagrid paint oddity

    Hi there, I have a datagrid which is populated but will be cleared when the system goes into what I call a "modification" mode, which is just database storage. I clear the grid by setting the datasource property to 'Nothing' and also by calling the databindings.Clear() method. The outcome is as expected, the grid is empty EXCEPT when the user has highlighted/selected a cell just before the grid was cleared...in which case the grid clears fine but leaves the selected cell. This looks absolutely terrible and unprofessional having this cell floating in the middle of nowhere on an empty grid. I got a workaroun ...Show All

  • .NET Development Accessing the FTP root directory.

    Hi, I'm working on a class that walks the directory on an FTP server. It looks for files following a certain format (i.e. "Acc*"), and returns the directory in which the files are located. The servers have limited scope, and access is limited to only a few users, so it is certain that only one folder will contain these files. This needs to be done with little to no user intervention. The problem I'm having is that the FtpWebRequest class does not let me start searching at the root directory, and I can't seem to access even the parent directory. The maximum depth of the directory structure is 10, so should I log on under any user ...Show All

  • SQL Server Query help - get last username?

    Hi, I hope this is the right place to post this. I am pretty much stuck but think I am doing pretty good so far as I am getting more and more into SQL using SQL Server 2000 here.   I want to be able to get the last username who replied to a topic. The "DateOfLastReply" works great, it gives me the last date of a reply to a topic so pretty much along with this, I want to get who it was that replied last. Any ideas so far, I have this but it isnt correct: SELECT Threads.[ID] 'ThreadID', ThreadName, DateOfCreation 'DateCreated', (SELECT TOP 1 DateOfReply FROM Replies WHERE Replies.ThreadID = Threads.[ID] ORDER BY DateOfRe ...Show All

  • Visual Studio An annoying problem - A site that works locally in VS2005 - doesn't work when copied to the web & IIS 6

    Hi, This is really frustrating. I have a working site when run through VS2005. All previous versions of the site worked. So I publish the site with "Allow this precompiled site to be updatable" unticked. I remove the old site versions files and Copy the new version of the site upto the server. Lots of stuff works , new pages work, however some old unchanged pages no longer work and the error message is: The file '/App_Forms/Reporting.aspx' has not been pre-compiled, and cannot be requested. Now I see the stub file and the file in the bin dir, this is an old file that used to work fine and has had no changes, also it ...Show All

  • .NET Development NullReferenceException when calling PerformanceCounterCategory.Exists(categoryName)

    I am experiencing an odd error in one of my applications where I randomly seem to see NullReferenceExceptions when I call PerformanceCounterCategory.Exists() with a non-null category name.  I am working with version 1.1 of the .NET framework. I have verified that passing a null or empty category name would generate a different exception, so I am pretty certain that the problem is NOT that a "bad" parameter is being passed to this method. Has anyone seen this behavior previously and have any idea what might be causing this exception   I have multiple copies of this application running, and they are each updating counters in ...Show All

  • .NET Development how to keep connection live while using httpwebrequest?

    hi i am using httpwebrequest and httpwebresponse to send request and get response respectively. i want to keep connection live after sending one request in order to send another request using same channel. so plz help me. HTTPWEBREQUEST.KEEPALIVE = TRUE is not working. Hi I got stuck up with the same thing as what kavitha told .. but the scenario is somewhat different. As the connection is not persistent i cant set the keepalive property. Plus autoredirection is not allowed as its an VPN. So how can i move about Any solution other than settng the keepalive property of request . the other thin ...Show All

  • Visual C# How to find registered event handlers?

    Hi, I'm trying to determine if an object has any event handlers registered on it. The reason I need this, is to not let an object to register one single event twice. this .menu.BeforePopup += new CancelEventHandler(menu_BeforePopup); // OK this .menu.BeforePopup += new CancelEventHandler(menu_BeforePopup); // Don't let it happen twice   Any help would be great Hi Patrik, and what is here the "anEvent" Is it the event itself or the event handler I just can't call GetInvocationList() on any of events.. ...Show All

  • SQL Server small scale (light weight) SQL search engine (basically a stored procedure) to search through Products Table

    Hi, I am attempting to build a small scale (light weight) SQL search engine (basically a stored procedure) to search through Products Table. I am passing a search string, which i break up by the ' ' (space) delimiter. next for each [value] (after breaking up) in the search string I want to be able to count the number of occurences of each [value] in the [ProductName] [ProductDescription] fields of the [Products] table. However I am confused as if its even possible. We can count the number of rows(or products) that contain the [value] in either of the [products] data table fields but i don't know if its possible to count the number of occuren ...Show All

  • Software Development for Windows Vista Feb CTP: Updated WPF Samples

    Hello, Can you tell me when updated WinFX / WPF samples will be availabe I am especially interested in the DocServices/XpsCreate/XpsPrint/XpsSave samples which I am unable to compile. Thanks, Adrian Hello Adrian -- You're correct that those samples have issues with the February CTP release of the SDK. Due to the evolution of the XPS format it's been challenging to always keep our sample sources up to date with each CTP release of the platform. In this particular case, the XPS documents actually reflect newer XPS architecture than the release version of the WinFX bits. The good news is that all of these samples will work pr ...Show All

©2008 Software Development Network