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

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

tfif

Member List

didik
gmork
Jonathan Miller
RayJohnson
Bill Mueller
OFord
T-Mic
PJune
Ann George
EstherAu
Sguillo
_keith
Bart1
advent.children
Cal Lynn
Seva Akkerman
vitich
pixelpajas
Nuno
翟奇
Only Title

tfif's Q&A profile

  • Visual Basic Howto control one form class from another?

    Hi there! Well i am writing an application, in which a splash screen appears at app startup. but the problem is that when e.g. from a SUB MAIN() i execute the lines: Sub Main()     dim splash as new form1     dim mainform as new form2     splash.show     main.show End Sub when this Subroutine ends the whole application ends. please tell me how can i show and close the splash screen at the startup of application. The problem is that you are not calling Application.Run. Change the main.Show line to read: Application.Run(main)   You may be ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Error

    I am making a game called Battle Tank and I referenced a DirectX reference just as the tutorial said but I'm getting an error saying: 1 Error, The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' Here's my code to the game: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.Samples ...Show All

  • Windows Forms Call method on owner form

    I have a form that uses showdialog to display a smaller form.  So Form1 opens Form2.  When a user edits the data in Form2 and clicks 'Save', I want to refresh a small section of Form1 that is based on the data edited in Form2.  How do I go about that Thanks for the help, Pete Contrary to your inference, I was not& ...Show All

  • Visual J# method to cast to/from ubyte[]/byte[]

    Hi; I know I can copy a byte array to a ubyte array using System.Buffer.BlockCopy. But since the actual data is identical in both arrays, and I have some large arrays, is there a way to just case a byte[] to a ubyte[] thanks - dave This really is a great help! Thanks to everyone for the posts; all the explanations were very concise and informative! ...Show All

  • SQL Server Importing SQL 2000 data into 2005

    Hello! I've got some backuped files from a 2000-server Analysis services and I need to import them into 2005. The problem is that I am not sure how these files where made and thus what they are. AFAIK they are simple dumps of databases. At least they have the same names: msdb_db_<date>.bak (500Mb) model_db_<date>.bak (800Kb) and the actual database with data which doesn't have a file-ending at all. These files are used as backup and apparantly it is possible to restore the 2000-server using them. Basicly this is all I know about these files. Is there any way I can do this The background to this story is that I am t ...Show All

  • Visual Studio Team System Error 32000 - The Commandline ... returned non-zero value: 2338

    Hi there, I have now uninstalled TFS BETA 3, as it would not function at all. Now I am installing TFC CTP, and I receive the following error: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 32000.The Commandline '"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\TFServerStatusValidator.exe" ...' returned non-zero value: 2338. Right after this, I get this: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 12-12-2005 13:06:13 Machine: COMMMO-T ...Show All

  • Visual C# Access a SAMBA share via C#

    A search for "SAMBA" in this forum returned no results, so I am assuming that this question is not already covered somewhere else... I am trying to programmatically access a Samba share from a C# application. Is there any way to facilitate this using C#/.NET Or is the only option here to write a Win32 Shell app or dll Any guidance is appreciated... Thanks, Outsideshot Samba emulates the Microsoft CIFS and SMB protocols. So, you should be able to use it just like a regular Microsoft Windows network share. Use a path like \\sambaserver\fileshare\filename.txt ...Show All

  • Windows Forms ComboBox Binding with a Blank Selected Index Initially???

    I'm making a search engine windows app that contains ComboBoxes that are bound to my SQL Server database. It would be so much better that once my ComboBox is bound that I could have no item selected (so a blank) incase they don't want to include that in their search but I can't seem to do that without putting in a blank record in my database and that seem soooooo wrong. The only answer I can think of is maybe populate an RA with the data leaving index[0] a blank and then binding to the RA. But I don't even know if I can bind to an RA. If anyone thinks this is a good idea I'd love a code example. If anyone has any ideas, workarounds or ...Show All

  • Windows Forms I 'm having a problem with my User Control

    Hai.....,              I have designed a User Control (Gradient Progress Bar). I was able to accomplish most of the things after referencing some FAQs from the syncfusion.com site. But the only problem annoying me is the following:     1. I have dropped my control into the windows form     2. when I drag it and drop somewhere else in the form, I see some messy drawing within the control      3. The following is the code i adopted to draw my custom progress bar using System; using System.Coll ...Show All

  • Visual Studio Express Editions C1083: Cannot open include file: 'afx.h': No such file or directory

    I downloaded a working project from the internet and tried building it.  I received the following error: Compiling... StdAfx.cpp c:\projects\win_services\icon_service\stdafx.h(15) : fatal error C1083: Cannot open include file: 'afx.h': No such file or directory I searched for this file with no hits.  Do I have to download the Platform SDK as well, to get this project to build Would appreciated any help that anyone can provide thanks in advance Sixpack wow, thanx you figured out my problem! :) , They should really talk more about this problem, or set up express C++ to tell you that you need the ...Show All

  • SQL Server Need help with XSLT - control characters not working

    I am writing an XSLT that will format events for HTML email distribution. One of the event data properties is defined as nvarchar(max). This column contains text formatted with CRs. I need to replace the CRs with <br/> for HTML email. I use the following snippet. <xsl:template match="notification"> <p> <xsl:call-template name="line-breaks"> <xsl:with-param name="text" select="UpdateDescription"/> </xsl:call-template> </p> </xsl:template> <xsl:template name="line-breaks"> <xsl:param name="text"/> <xsl:cho ...Show All

  • Visual C# Digitally sign a c# web form from a CaC (smart card)

    Does anyone know how or does anyone have some sample code on digitally signing a web form Right now we have a manual process on our network accounts. Someone fills out the form on the web, prints it and then faxes it to us. I'd like to make this as automated as possible. Thanks, Frank Hi, Thanks for your posts on MSDN forums. Basically, it doesn't make sense to sign a web form in your source code, for the security check is based on binary data transfer. And it's highly suggested you enable SSL of your server's iis setting after you request a verisign certificate to public at: http://www.verisign.com . It ...Show All

  • Visual C++ /NXCOMPAT without VC8

    We recently fixed all the bugs in our games with self-modifying code that didn't set the PAGE_EXECUTE* flags.  We now want to mark our EXE files as being compatible with Data Execution Prevention.  This is because there have been recent bugs found in our code to allow the execution of data.  Since we cannot find every single bug, we want to protect our users as much as possible. How can we mark our EXEs as DEP-compatible without Visual Studio 8   We want the /NXCOMPAT option, essentially. We cannot switch to Visual Studio 8 due to two severe problems. 1. VC8 has a bad bug where its x87 register allocation algorithm is inc ...Show All

  • Visual C# statusStrip...when files are loading

      hi, I'm trying to make the statusStrip tell the user that the program is loading. I have tried the following code. but seems that the status strip only show the message just before it finished loading files which is not my purpose. . Unlike when i put MessageBoxes, one appears right after i clicked OK in folderBrowserDialog() and the other MessageBox appear about the same time that the data from the opened file were shown. Anyone can help me solve this private void openToolStripMenuItem2_Click( object sender, EventArgs e) {    DialogResult result = folderBrowserDialog1.ShowDialog();  & ...Show All

  • Visual Basic (VB 2005) Creating Datasources - How do I do it properly?

    The Database is Called EDI and throughtout my project I would like to use the ConnectionString  = cnEDI. Or the datasource if I can get it setup right. I am going thru the wizard and I select database and then select my server and database. For rigth now all I need is a view and I pick my vEdiClaimsLookup view. Now do I use this dataset to create queries against for a datagrid or do I use the connection string that was created. I know I can drag the dataset to a datagrid but woudn't a query be faster against the view and then fill a dataset compared to using a filter on the dataset created thru the wizard Is the purpose of t ...Show All

©2008 Software Development Network