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

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

xlordt

Member List

ottogbg
Danalynn
Matt Lin
MasterBodyman
Romantic_touch
DannoCoy
Tryst
JohnDB
Daniel Segerdahl
xRuntime
joksa
one2escape
RufusLDK
Agent00
ajpharrington
Anees Ahamed
paso
setuc
T.N. Arvind
Jennifersmith23
Only Title

xlordt's Q&A profile

  • Visual Basic String comparsome

    I ran into a little issue with comparing 2 strings against each other. The data is NY in the datatable I can enter whatever in textbox1 and my code will accept it (example; x5v45) the table is setup with the field being nvarchar(50) What I was wanting to do is select a name from the combobox and compare a different field from the same table with a textbox . I did try one other thing, that was to take the selected text and populate a different textbox to see what it was comparing, and it was NY Test code: If Me .TextBox1.Text = Me .ENameComboBox.SelectedText Then MsgBox( "Nope" ) Else Me .Close() End If Where did I mess up at Davids Learning ...Show All

  • Visual Studio 2008 (Pre-release) Installing .NET 1.1 over .NET 3.0 issues?

    We would like to use the XML Diff/Patch tool ( http://msdn.microsoft.com /library/default.asp url= /library/en-us/dnxmlnet/html /xmldiffgui.asp ) but it requires .NET 1.1, and I'm running .NET Framework 3.0. Will I end up trashing 3.0 if I install 1.1 Are we asking for trouble by using a tool that is clearly not on the MS upgrade path Thanks. Steve Thorn 1.1 and 3.0 install side-by-side without interference and therefore shoould not see any issues. 3.0 uses the 2.0 CLR and therefore installing 3.0 requires having the 2.0 Framework installed. Clemens ...Show All

  • Windows Live Developer Forums fixed map

    Hello, Does anyone know how to control the map to fixed or acctive without calling the map.LoadMap(); Thank you Yuki ...Show All

  • Visual C++ How to access another Forms members

    Hi all, I have a form called: Form1 (Form1.h) and another form called: add_key_Value (add_key_Value.h) Now I want to show the form add_key_Value: So I include the header file add_key_Value.h in the Form1.h And perform the following code: add_Key_Value^ form2 = gcnew add_key_Value; form2->Show(); Now in the add_key_value form I want to access the members of Form1: So I include the header file Form1.h in the add_key_Value.h And perform the following code: (ERRORS) Form1^ mainform = gcnew Form1; mainform->edtTextBox->Text = "Just testing"; Errors: Error 3 error C2065: 'Form1' : undeclared identifier c:\documents and settings\qx55246\my documents\visual studio 2005\projects\cnfedtctrl\cnfedtctrl\add_key_Val ...Show All

  • SQL Server How to get month from a datetime type?

    Hello guys, I have datetime value as "mm/dd/yyyy h:m:s", my question is as title. help pls! Cheers, Elton If the source column is a date type, such as DT_DBTIMESTAMP, then you can use the date related functions, DATEPART, or there is also a more direct MONTH function. Integration Services Expression Reference ( http://msdn2.microsoft.com/en-us/library/8b80403f-6d45-4001-8b12-25a933c663a2.aspx ) ...Show All

  • Smart Device Development textbox.Focus() after end of character

    I am developing a smart device application. Just added a button called "Loose". This button will display "Loose" character on the textbox, however the cursor is not on the textbox. So I added .Focus() function. But the cursor appear at the start of the textbox (before "Loose") instead at the end of the character "Loose". Is there anyway that I can make the cursor to blink at the end of "Loose" character This should do the trick: textBox1.Select(textBox1.Text.Length, 0) ...Show All

  • Visual C# Open Exchange Appointments

    I've been working a while now on my Exchange synchronization. The goal is to get the appointments from the separate mailboxes and put them in the public calendar, located at http://server/public/public/Calendar I've come so far, that I have a Record on one side, containing a single appointment. On the other side, i've connected to the public folder and try to open the recordset of the calendar now. the following Method is implemented: =================/snip private Recordset getPublicCal(object source) { Record publicRecord = new Record(); publicRecord.Open(source, connection, ConnectModeEnum.adModeReadWrite, RecordCreateOptionsEnum.adFailIfNotExists, RecordOpenOptionsEnum.adOpenSource, ...Show All

  • SQL Server ForEach File Enumerator extension bug?

    I set up a basic ForEach enumerator loop and specified files of type *.sql. In the directory, I had some files I needed to keep but didn't want the package to touch, so I changed the extension to *.sqlo. Much to my dismay, the ForEach loop picked up those files. (Though it did skip the *.xml and *.bat and a few other types...) Sounds like a bug to me. I believe you (after looking at that link). But that is just bizarre and, to me, nonsensical. Especially if one continues to read. This *only* applies to a 3-character extension search pattern - nothing else. Why oh why would they do such a stupid thing This means that there is direct no way to specify give me only the three character file extens ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Benefits of XNA Game Studio

    Can someone with experience using Game Studio please identify the features it provides to assist an individual game developer I'm skeptical because it doesn't have any built-in capabilities to import animations created in 3D packages. That's a basic feature any game creation tool should have. the K wrote: waruwaru, Could you elaborate on what the content pipleline provides From what I understand so far, it's a simple way for you to get your game assets/resources (i.e, graphics, sounds, models, textures..etc) as part of your projects. With the Game Studio, you add resources to your projects, and when you build your projects, Game Studio will compile them to a format that is usable by ...Show All

  • Visual C++ VS05 saying project (unmanaged) is out of date and needs rebuilding when it has just been built

    Hi all Can anyone give me an idea of how to fix this somewhat annoying problem I have several projects in my solution. All are C++, some are managed and some are native. When I try to run the program - even if I've just done a build - it tells me that several of my projects (all the native ones) are out of date and need to be rebuilt. When I click yes, it will go through these projects and run the linker (at least the output window says "Linking..."). The linker doesn't actually do any linking (takes about a second to finish) and then goes on to the next project. Once its finished all the projects it will start running. If I stop running and then try to run it again, I have to go through the same process. Does anyone ...Show All

  • Visual C# Is it possible to clear the value of the DataRowState ?

    hi all. I have a row in a table which get DataRowState either modified or added. Is it possible to clear this DataRowState after i have tested on it if (datasetCustomer.HasChanges(DataRowState.Modified)) { //do something. //Clear the datarowstate so the above test does not hit... } Thanks. Lars E. ...Show All

  • Visual Basic Drop Shadow

    How can I add a drop shadow to my form in VB.Net 2005 Public Class Form1 Private Sub Form1_Paint( ByVal sender As Object , ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me .Paint Dim x As Single = 110.0F Dim y As Single = 120.0F Dim strText As String = "Shadow Text" Dim drawFont As Font = New Font( "Comic Sans MS" , 24, FontStyle.Bold) Dim drawBrush As SolidBrush = New SolidBrush(Color.DodgerBlue) Dim drawShadow As SolidBrush = New SolidBrush(Color.DimGray) Dim drawFormat As StringFormat = New StringFormat() e.Graphics.DrawString(strText, drawFont, drawShadow, x + 3, y + 3, drawFormat) e.Graphics.DrawStrin ...Show All

  • Visual Studio Express Editions save in Excel

    Hello! How can i set the size of the textboxes in my code excel 2003 Imports Microsoft.Office.Interop Dim xlApp As Microsoft.Office.Interop.Excel.Application Dim xlBook As Microsoft.Office.Interop.Excel.Workbook Dim xlSheet As Microsoft.Office.Interop.Excel.Worksheet xlApp = CType (CreateObject( "Excel.Application" ), _ Microsoft.Office.Interop.Excel.Application) xlBook = CType (xlApp.Workbooks.Add, _ Microsoft.Office.Interop.Excel.Workbook) xlSheet = CType (xlBook.Worksheets(1), _ Microsoft.Office.Interop.Excel.Worksheet) xlSheet.Cells(1, 1) = TextBox1.Text xlSheet.Cells(2, 2) = TextBox2.Text . xlSheet.Application.Visible = True ...Show All

  • SQL Server openrowset error

    I have an access database from which i want to use data in sql server if a table has column with values like 6.32404E-244 i've got an error message like: OLE DB provider 'Microsoft.Jet.OLEDB.4.0' for linked server '(null)' returned invalid data for column '[Microsoft.Jet.OLEDB.4.0].Stoc_Max' a simple select like 'SELECT * FROM OPENROWSET(.....,table) gives me this error. Are you using SQL Server 2005 SQL Server 2005 applies stricter restrictions on importing floating point data in the "denomalized" ranges (very close to zero). While the specific value you show here is not invalid, some other value in your table may be too small to import correctly. So that's my guess - you have some ver ...Show All

  • Visual C# AxMediaPlayer cannot be instantiated because the current thread is not in a single-threaded apartment.

    A real difficult problem I believe. 1. My program is already running in Single Threaded Apartment [STAThread] public static int Main(string[] args) { ... } 2. One of the computers, when running my program, pops this error. System.Threading.ThreadStateException: ActiveX control '22d6f312-b0f6-11d0-94ab-0080c74c7e95' cannot be instantiated because the current thread is not in a single-threaded apartment. at System.Windows.Forms.AxHost..ctor(String clsid, Int32 flags) at System.Windows.Forms.AxHost..ctor(String clsid) at AxMediaPlayer.AxMediaPlayer..ctor() 3. I searched many articles on the web but none of them can really useful to my case. 4. The computer with problem is running .NET 2.0. A simplified Chinese ...Show All

©2008 Software Development Network