Software Development Network Logo
  • Smart Devicet
  • Windows Vista
  • Visual Studio
  • Visual FoxPro
  • Game Technologies
  • SharePoint Products
  • Visual C#
  • Visual C++
  • SQL Server
  • Visual Basic
  • IE Development
  • VS Team System
  • Audio and Video
  • Windows Forms
  • .NET Development

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

TrevorW

Member List

TheQuietShadow
syhzaidi
Dennis de Jong
rsknowles
Dhandapani
kmmii
Chris Breaux
Fayez Mutairi
Mukesh Dua
Struan
pmanisekaran
rooooooodog
IlCapo
Koen Vermeire
nayob
Poetjevel
DDarren
wangfang
SimonS_
FernandoLeite
Only Title

TrevorW's Q&A profile

  • SQL Server SQL Construct

    Hi all, I had a question regarding SQL construct. I had a table named "info" and I would like to show Lot_Id as distinct. Besides that , I would also like to show wafer_id and wafer_starttime. May I know how to construct this using select statement Thanks ...Show All

  • Windows Live Developer Forums LOADING GEORSS not working

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/VEMapControl/HTML/WorkingWithLayers.asp The above page references the ability to load a GEOrss file. However the example only shows loading a "collection". I have followed the code correctly - however when I attempt to load a GEORSS compliant file - it says "0" items have been loaded. Could you provide example page of loading georss Can you please show the source code exactly like was used for the Interactive SDK (including the link to the geoRSS used - so we can see how the georss xml file was written), as well as how the icons were loaded and the popup layer was structured with pushpin hover. Thanks   Easy fix: just replace your callback funct ...Show All

  • .NET Development How to ignore invalid certificate name

    I use FtpWebRequest with EnableSsl = true. But I have some problem. The certificate name is invalid, and when I receive an error "The remote certificate is invalid according to the validation procedure". How can I ingore invalid name error on certificate Durgaprasad Gorti , Thanks! You helped me! ...Show All

  • SQL Server Cannot perform a differential backup for database

    hi seniors , I am running sql server 2005 under details Microsoft SQL Server 2005 - 9.00.3033.00 (X64) Copyright (c) 1988-2005 Microsoft Corporation Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1) When i attempt to take differentail backup i receieved following message "Cannot perform a differential backup for database "abc", because a current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option. [SQLSTATE 42000] (Error 3035) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)." when i search this msg on net than i find that it is microsoft bug 863 so i found hotfixes about t ...Show All

  • Windows Forms font size of Main Menu

    hi, Is there any way to increase the font size of main menu in VS 2003 I don't see that property in properties window. Thank you! Hi ar_pad, I'm sorry to say that this is not related to this forum. I don't see it could be solved by vs2003, it's the system's resposibility that controls the size. Right click on the desktop, Choose property, and the tab 'apperence',  and click the 'advanced' button, select the 'Menu' item in the pop-up dialog, and there you can change the font size. Try a luck at the Visual C# IDE forum. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=58&SiteID=1   ...Show All

  • Visual C# Need help converting VB to C#

    Hi Can someone help me by converting this VB to C#. Thanks a bunch. James Keele Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(Modulo10(TextBox1.Text)) End Sub Private Function Modulo10(ByVal strNummer As String) As Integer 'strNummer may only contain numbers between 0 und 9! Dim intTable(10) As Integer Dim intTransfer As Integer Dim intIndex As Integer intTable(0) = 0 : intTable(1) = 9 intTable(2) = 4 : intTable(3) = 6 intTable(4) = 8 : intTable(5) = 2 intTable(6) = 7 : intTable(7) = 1 intTable(8) = 3 : intTable(9) = 5 For intIndex = 1 To Len(strNummer) intTransfer = intTable((intTransf ...Show All

  • Windows Forms Open winforms with Async threads

    Hi, On my application 13 forms, that do something on load (each form is doing something else), and I need to open them all on App load (I'm not showing them, just create instance): <Code=c#> form1 frmOne = new form1; frmOne.LoadData; form2 frmTwo = new form2; frmTwo.LoadData; </Code> I want to load all of them at the same time (each in seperate thread). How can I do this The splash screen will be the main UI when being displayed. Your real forms will only be loaded after the splash is gone. It's still sync. call. I don't see any advantage of using splash because your forms cannot be loaded from background per Peter's explanataion. Correct me if I'm wrong. Thanks, Alan ...Show All

  • SQL Server Cannot see the SQL Express Instance on the Network Server list...

    I have installed SQL Server Express and I can connect with it locally using "localcomputername\SQLEXPRESS". It is configured for remote connection and for some reason, when I browse for this instance on the Network Server, it does not appear in the list. I have unistalled/installed it several times and still I cannot see this instance on the SQL Network server list. Can anyone help troble shoot this frustrating issue... Thanks! SAM ...Show All

  • Smart Device Development How to Merge *.reg File From Code

    Hello, Reg files usually are merged automatically during Cold Boot. Is there a way of merging a reg file from code (Something different than reading the file, parsing it and manually calling Reg functions from API.) The only thing I was able to find out about the issue was information about existance of RegMerge.dll. Thanks, Artur If you mean registry editor files, there's nothing to process or parse them files on device. You would have to write .reg file parser and "merger" (whatever you mean by that) yourself. ...Show All

  • SQL Server Problem Connecting to ODBC and or Sybase connection

    Hi: I'm finding with SSIS 2005 that the most basic functionality--being able to connect to datasources--is very difficult. I've tried to connect to Sybase via ODBC and OLEDB and had different problems each way. As a test I tried an ODBC connection to Access and it also had problems. I've seen other posts but nothing that really helps. Here is what I've tried: 1. I understand that now if you want to use an ODBC source, you create an ODBC connection manager and then use a "DataReader Source" that uses that connection manager. I tried this via ODBC to my Sybase database, but got this error: "Error at pump MyPump [DataReader Source xxxx]: Cannot acquire a managed connection from the run-time connection manager" ...Show All

  • Commerce Server campaign items

    hi 4 all, if we have multilanguages commerce website. how can we specify which of the campaign items (Ads, or discounts) will display for anonymous user suppose that we have 4 languages, should we create 4 campaign items for each thanks for all. I would add code and do the following: Check to see if the user has a valid UserID, if so then you can target a registered user. Else you create a generic anonymous user in the profile and now you can target anonymous users. Good luck, -Max ...Show All

  • Windows Forms Why Can't I set the Text property of a Label

    I have placed a label control on my form and I when I eter code in the VS 2005 IDE to chnage the text property it tells the control isn't defined! Yes I have double checked the spelling, it doesn't even show up in the autocomplete menu. Help! This is really annoying! Simmy WHat version of VB are you using...it should look more like this: (for 05) Private Sub InitializeComponent () Me . Label1 = New System . Windows . Forms . Label Me . SuspendLayout () ' 'Label1 ' Me . Label1 . AutoSize = True Me . Label1 . Location = New System . Drawing . Point (19, 60) Me . Label1 . Name = "Label1" Me . Label1 . Size = New System . Drawing . ...Show All

  • Windows Forms How do I specify a file search condition for an uninstall custom action?

    I have an uninstall custom action that runs one of the installed executables. If the user deletes the executable and then tries to uninstall via Add/Remove Programs, the uninstall will fail because the executable in the uninstall custom action doesn't exist. The program will be permanently stuck in the Add/Remove Programs list. I know it's possible for the user to try to get the original installer, repair and then uninstall but I was hoping for an easier solution. The uninstall custom action is not critical. I'm trying to add a condition to the custom action that checks for the existence of the executable on disk, but it doesn't seem to be working. I've tried adding a file search node to the Launch Conditions Depth: 0 FileNam ...Show All

  • Smart Device Development 2nd try: What DLL are wave routines in?

    I'm having trouble getting access to some wave routines: I have been using these routines to access sound under Windows XP using the winmm.dll DLL. I would like to know which DLL these routines are in under WM5 (if at all) [DllImport(DLL)] public static extern int waveOutGetNumDevs(); [DllImport(DLL)] public static extern int waveOutPrepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutUnprepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutWrite(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutOpen(out IntPtr hWaveOut, int uDevi ...Show All

  • .NET Development KeyedCollection Support Two-Way DataBinding?

    I want my business object collections to inherit from a generic collection that supports access to its members by key and/or numeric index. It appears that KeyedCollection meets this requirement but it is my understanding that the only the BindingList<> generic supports two-way databinding Is this true Or does the KeyedCollection type support two-way databinding as well I realize that I could probably implement the interfaces myself but I would rather have that functionality inherited if possible Thanks for any assistance. Mark You can use the BindingSource component to perform two-way databinding with a KeyedCollection. Once you've created your derived KeyedCollection, make sure you've ...Show All

©2008 Software Development Network