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

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

seepicture

Member List

ebrainsoft
SSyed
jpoirier
David Swain
e-networld
Tony Hudson
udotan
Steven Hahn
Gautam Ludhani
shaggymog
Jens K. Suessmeyer
extrodamus
Andi_DE
zmrcic
Part Time Australian
TareqGamal
_Rob_
Whitespace
satish kumar
Dark Schneider
Only Title

seepicture's Q&A profile

  • Visual C# How can I prevent system prompt message to display? thanks!

    After launch the following code, I find that a message window which require to insert floppy disk is displayed, only after I close the window, the message "A driver is unavailable!" can be displayed! but I don't wish that the additional message with requiring to insert floppy disk is displayed, how can I do thanks! try {   string[] a1=Directory.GetDirectories(@"A:\") ; } catch {   MessageBox.Show("A driver is unavailable!"); } Hi CUI WEI, Declare the Win32API Call within the class and add #using System.Runtime.InteropServices. [ DllImport ( "Kernel32.dll" , CharSet = CharSet .Auto, SetLastError = true )] extern stati ...Show All

  • Windows Forms disable highlights when selecting

    how can i disable the highlighting effect when clicking on cell/column/rows any idea much tq. One way I can think of is to catch the MouseDown event of the DGV, using HitTest() to get the row and column of the cell clicked, and then say something like : dgv.Rows[row].Cells[col].Selected = false;     ...Show All

  • Visual Basic Background Image Transparency Issue

    I am trying to use a background bmp image on my form to set transparency regions. (To make a custom shaped form) The bmp has regions that are completely black. I then set the transparancey key of the form to black, but the black regions just show up black, not transparent. However, if I set the form back color to black, the entire form become transparant, as it should. Why will this not work with a background image. Am I missing something or is this just not possible with an image. John Wow, can't believe I stumped the entire vb community with this one. Anybody seen this before John ...Show All

  • Visual Studio VS2005 CommandBars Icons

    I am writing an add-in for Visual Studio 2005 and want to create toolbar buttons. I used the documentation to learn how to create the buttons and now have a nice toolbar with a bunch of little smiley faces. Now, the documentation says there are around 3000 icons to use with the commandbars collection instead of the smiley face and it recommends using those icons before attempting to create custom icons. That sounds perfect for me. I know that index 59 is the smiley face but that is all I know. Should I recompile 3000 times to see what each icon looks like or is there some documentation somewhere that shows me what icons go with what index I ...Show All

  • Windows Forms How can I make a control span multiple rows and columns in a TableLayoutPanel?

    I like the TableLayoutPanel, I created something similar in 1.1.  However is it possible to customise the table layout similar to HTML (i.e. rowspan & colspan).  This would be really neat. I got the same problem .... and I found this solution : Code Snippet AnyControl yourControl aTableLayoutPanel.Add(yourControl,x,y) ; aTableLayoutPanel. SetColumnSpan (yourControl,2) ; there is also a SetRowSpan function. hope it'll help someone .... ...Show All

  • Visual C# Where is C# snippet editor?

    I found snippet editor for VB.NET 2005. However there is no snippet editor I found for C#. Yes, I fould one which looks so... bad.. editor..from MS. It seems a school project. Anyway, where I can find snippet editor for C#.NET   I don't think there really is one. Code snippets in C# were more of an after-thought (e.g. snippets support "Import" but not "using"). But, there is Snippy . -- Peter _________ http://www.peterRitchie.com/SortableValueType.snippet . ...Show All

  • Visual Studio Team System Non-VS client for TS source control?

    Newbie question: we have developers who do embedded work and don't use Visual Studio. They prefer their own editors and must use speciaiized compilers/linkers. They currently use SourceSafe for source control. Is there a standalone VSTS source control client that these folks could use We are very interested in changesets, shelving and the tying back to project tasks. Are these only available in Visual Studio/VSTS As far as I understand there is VSTS client which looks just like Visual Studio 2005, but without any languages installed. Using this client you will be able to check files in/out and access al ...Show All

  • Windows Forms What logical order are Controls stored in the Controls collection?

    Hi all, how are the Controls on a Windows form stored What I mean is, are the Controls in the Form.Controls collection (Controls[0], Controls[1], Controls[2] etc) stored in the positions that they are appear (x, y) on screen So a control that is positioned in the top left comes before a control that is positioned at the bottom right in the Controls collection (I probs have these completly wrong :)) The reason I am asking is because I have a load of controls on a form and want the user to be-able to navigate the control (TextBox, ComboBox etc) that sits below it when the user presses the down arrow key (tab key is not an option here I am afr ...Show All

  • Visual Basic Send a variable to a function

    This goes along with another post I have. Again, I've only been programming in VBA for about a week, so my 's may sound a little elementary. I am reading in a 3 character string and want to send it to a function. The function is going to check for validity of the string by comparing it to a list in an Excel spreadsheet.  But, it the function is going to be run multiple times throught my Sub with different data each time.  So, I need to know how to declare my function to accept a variable's value and how to pass the value of a variable when calling the function . To make these even more difficult, I may be getting a string th ...Show All

  • Visual Studio 2008 (Pre-release) How do I invalidate/refresh the window?

    How do I invalidate/refresh the window before performing a time consuming operation in the main thread I need the mouse cursor to update and the rect under a dialog box (which just closed) to be repainted before this operation starts. I thought maybe InvalidateVisual() would work, but it didn't. (I know, I should put time consuming operations in background threads, but I'm not quite there yet). Thanks, Tor. I have changed my code to use a background thread. I used the following statement to call another method ( LoadXAMLBackgroundTask)  which is then executed in the worker thread. XAMLC ...Show All

  • Visual Studio external link checkers?

    Many of the method and properties links on my SSB SDK ActiveX version are broken. For example, Inkcolor method on Overview page.  Ran link checker in HelpStudio and it finds many broken links, but not the ones on the Overview page. My HelpStudio link checker shows extra links. Once these are deleted, there are no more error messages. Yet I still have broken links. The broken links all appear to be older (recent ones work). They are all HelpStudio links to Document! X methods and properties. The broken links did not show up in the link checker. I fixed them by hand – relinking them to the Document! X project. Are there ...Show All

  • SQL Server I'm retarded and need help with Derived Column or Script Task

    I am moving data from an oracle database to sql server. Two of the source fields are dates, which sometimes contain values I know to be incorrect ('0001/01/01' and '1900/01/01'). I'd like to use either the derived column or script task (or any other appropriate one) to update these incorrect values (in both columns) to null before inserting into sql server, smalldatetime field. In sql 2000 dts, I would simply use a VBScript IF statement, but I'm somewhat clueless when it comes to .Net. Does anyone have any ideas or sample code that may help Thank you much. In a derived column you could do a ...Show All

  • Visual C++ /clr option

    anyone know what is the   '/clr' option cos when i try to debug my win 32 console application,i got an error .The error was : : fatal error C1190: managed targeted code requires a '/clr' option. Thanks.   Your code is probably using CLR specific feaures. An example would be doing:   #using <mscorlib.dll> /CLR is used to generate managed applications. To understand more about /CLR and managed applications in general, take a look at http://msdn2.microsoft.com/en-us/library/k8d11d4s Thanks,   Ayman Shoukry   VC++ Team ...Show All

  • Visual Studio Team System Area and Iteration fields and field constraints

    Hello, we are busy editing work item types (fields, states and transitions,... ) for our own use. We edit the process templates with Process Template Editor Tool (Imaginet Resources). In one problem we ran: It seems not possible to add field constraints to the fields Area Path and Iteration Path (TreePath data type). We want mark these fields as Required and preselect default values. Every time I try to add a constraint to such a field, I get an error: e.g. "TF26062: Rule "<Required>" is not supported for the field System.Area.Path." What is the reason for that behavior Is there an other possibility t ...Show All

  • Microsoft ISV Community Center Forums Difference between FORMS and CONTROL TOOLBOX

    Hello there, my questions goes to the difference between using the FORM TOOLBAR or the CONTROL TOOLBOX When do I have to use each one Are they both Visual Basic for Applications It is the same SAVING A MACRO and CREATE ONE in the Editor The difference between programming in a SHEET, MODULE or a USER FORM I have just started today with VB, I am used working with MATLAB (Engineering Program) but in most organizations used VBA, so eventhough I am an expert in MATLAB, I have to change. P.D: Sorry for my terrible English, I am from Peru (LATIN AMERICA) so I guess I should be better with spanish. Can you answer my questions to: alex_ve ...Show All

©2008 Software Development Network