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

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

urz

Member List

CBuilder
Evan Mulawski
Puzzl3b0x
Sarwanan
Xtremer
Christie Myburgh
Kevin8264
Corby111
Cyrus Chan
DavidC#2005
hiner129
Jessie J
ScottyWakefield
aditi shah
efriese
Allen Nelson
RPagels
Rhubarb
PeterPan1120
Rolan
Only Title

urz's Q&A profile

  • Visual Studio Team System Old Database Project vs New Database Project

    Hi, A customer has a solution with a “old” database project type that opens fine with VS 2005 Pro. After they installed the CTP 7 Bits of DB Pro and now get an error when opening that same solution. Can they use the Old Project Type along side(In the same solution) with the new DB Pro Database Project type Does that make sense Thank you. Randy The project files created in the DB Professional Edition (SQL Server 2005 DB Project for example) are not compatible with any other edition of Team Systems; so adding them to your solution essentially breaks the solution when loaded by a different role. This seems counterintuitive as even though the Tester Edition and Architect edition can create ite ...Show All

  • Visual FoxPro config.fpw

    how i can find my config.fpw how i can call my program that use only my codepage=950 for hongkong characters i wan create my own config.fpw and at my main.prg call this config.fpw... how i can do that thanks in advance. And don't forget that if you're running an EXE (which you should be doing), add the config.fpw to your project so it's included in the EXE. Then you don't need an external file. ...Show All

  • Visual C# Apply Button On Modal ShowDialog Form

    Hi all, Let say I have two forms. One is the Main form. Another is the Options form. My Options form is called by the Main using ShowDialog() command. I have an apply button on the Options form that allow user preview / apply the Options that they had set without closing the Options form. The is another OK button on the Options form. The OK button will Hide() the Options form. Then, it will execute the "ANOTHER CODE REGION". That is what I wish to do without hiding the Options form. Is it possible with the ShowDialog() function frmOptions frm = new frmOptions(); frm.ShowDialog(); // ANOTHER CODE REGION that draw something on the main form. Thanks in advance. Thanks. I wonder how you guys make ...Show All

  • SQL Server I found a bug in Sql Server 2000!!!

    Yesterday I created a table in Sql Server 2000,using this script: CREATE TABLE [dbo].[User]( [Id] [int] NOT NULL, [UserName] [nvarchar](20) NOT NULL, [TrueName] [nvarchar](20) NOT NULL, [Password] [nvarchar](60) NOT NULL, [Department] [int] NOT NULL, [Mobile] [nvarchar](20) NULL, [Telephone] [nvarchar](20) NULL, [Remark] [nvarchar](200) NULL, [Enabled] [bit] NOT NULL, [Available] [bit] NOT NULL, CONSTRAINT [PK_User] PRIMARY KEY CLUSTERED ( [Id] ASC ) ON [PRIMARY] ) ON [PRIMARY] There was only one record in it: INSERT INTO [User] VALUES(1,N'SUP',N'Jim',N'213123',1,NULL,NULL,NULL,1,1) After I executed this script: UPDATE [User] SET UserName=N'f',TrueName=N'gg',[Password]=N'dfsdfsdf',Mobile=NULL,Telephone=NULL,Remark=NULL, Ena ...Show All

  • Visual Basic [OTP]dir() Function

    x = Dir("C:\sample\raja*.txt")   What is the equivalent function in Vbscript for the above VB statement   I want to use this in DTS package !!! I don't know VBScript but your original question was for .Net, so maybe this helps anyway: For Each xFileFullPath As String In My.Computer.FileSystem.GetFiles("C:\sample\", FileIO.SearchOption.SearchTopLevelOnly, "raja*.txt") TextBox1.Text &= xFileFullPath.ToString & vbCrLf Next ...Show All

  • Windows Forms Navigating forms in a SDI application

    Hi, I am writing an SDI app in (VB Express 2005) and want to navigate backwards and forward between forms. I can do this quite easily by overiding the constructors in forms using the "callingform" technique found in other posts. My problem is that 1 form needs to be opened from multiple forms. e.g. "Form1" or "Form2" can call "Form3". How do I sort out overiding the constructor for a case like this ...Show All

  • SQL Server difference between dates

    Hi, I have two problems. 1)I'm using datediff function to count difference in minutes between two dates - and it's working fine. But I would like to ask if there is any function (or maybe U could tell me how to do it) that is able to count difference between two dates in minutes, including only days from Monday to Friday and hours from 9:00 am to 5:15 pm. 2)My second question reference to the first one. Let's suppose that I've managed to count correctly difference between two dates. But for example: 120332 minutes is not telling me a lot. So I would like to show this measure in this format DD:HH:MM (DaysDays:HoursHours:MinutesMinutes) - aggregation function for this measure is SUM. I was trying to use MDX language to change 120332 i ...Show All

  • SQL Server Cannot connect to SQL Server 2005 Express with Management Studio Express

    On my home machine without permanent network connections enabled, I cannot get the Management Studio connect to the database server. Always get this error: Cannot connect ot MPLIAM\SQLEXPRESS Additional Information: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, erro: 26 - Error Locating Server/Instance Specified)(Microsoft SQL Server) I have used the SQL Surface Area Configuration Tool to reset the defaults to allow remote connections, stopped and restarted the server, but still get the same message. Please help ...Show All

  • Smart Device Development Technique to view large jpgs

    What's the best way to view a high resolution jpg photo I tried the picturebox control in a form approach, and it won't work for high resolution photos because when the Bitmap class converts the jpg to a bmp, it's too huge for the device. I would like to scale it to the screen size (I scaled it before and so I know it will work), but I have a "chicken or the egg" problem. I have to convert it to a Bitmap first before I can scale it. Bitmap hiResBmp = new Bitmap("hi_res_photo.jpg"); //dies here Bitmap smallBmp = MyScaleImageMethod(hiResBmp) pictureBox.Image = (Image)smallBmp; Or is the only solution to pre-process the jpgs (make them smaller) before loading them on the device Thanks ...Show All

  • Visual C# RE : XML to C# class file

    hi every one, iam using .net 1.1 asp.net and C# i got a xml file which contains the configuration details in it. user may added any details or delete any details in it. i need to convert the xml file in to a class file. it does not contains any standard structure user may add what ever he like. Is there any way to convert the xml file to a class file .. thanks for your valuable information XAML is the new "layout" used by Windows Presentation Foundation in .NET 3.0. A variation on that format is MyXaml - http://www.myxaml.com (which is what I originally used) which does similar things but can be expanded to do just about anything. MyXaml has source code so you can modify it if needed. For XAM ...Show All

  • SQL Server Could not Authenticate with SQL Server

    Here's my situation and I've spent enough time to troubleshoot. Any help would be appreciated. 1) I have a VB.NET Windows Form Application that uses SQL Server Express 2005 database. 2) The "mdf" file is a part of the application itself. 3) When the application distributed to my clients using Windows XP SP2, the "Click Once" installer automatically installs SQL Server 2005 Express [which is a pre-requisite] and copies this mdf file into the application folder. 4) The authentication mode is "Windows Integrated" The problem is, when the application is launched [while logged in as the local system administrator in a given computer], it is unable to connect to the SQL Server. I get the following error, Failed to generate a user instance of S ...Show All

  • Windows Forms Master-Detail from Combobox to Datagrid

    I am having hastles creating a master-detail relationship using a combobox and a datagrid. I have no problem creating the relationship, but when I test if the databound combo box filters the datagrid, or when I enter a new is entered with a selection in the combo box, it doesn't work. Any Ideas Is this what you are looking for using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using System.Globalization; namespace DataGrid { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. String to char[]

    Does anyone know how to pull the individual chars from out of a string String s = "abc"; char c = s[2]; // c contains 'c' ...Show All

  • .NET Development Workaround

    I try to install my application (developed with VS2005 and referencing the NET Framework 2.0 that came with VS2005 on my 32bit machine.) on a Windows Server x64 on a Xeon system. The Install program (ClickOnce) fails reporting an error while checking for the net framework 2.0: "This Version of NET Framework 2.0 is not supported on a 64-bit operating system." This is strange because on all 32bit systems I installed the application on, the installer downloaded the NET 2.0 frameowork from Microsoft, and worked well. The application runs fine on 32bit systems. I manually downloaded and installed the 64bit NET Framework 2.0 on the Windows Server x64. But: I get the same results (installation fails with above error). I cannot find any ...Show All

  • Windows Forms Dual Window App and Events.

    Hello Im new to this forum so if this question does not belong here please let me know. It sure looks like a good place to start. I have 2 forms in a C# Windows App project. I have a button on form1 and one button on form2 In form one I create an instance of from2, so now I have two windows up. How do I handle the form2 button click in form1 What's the best way to do this What should I be looking in to I can set form2 as the start up form, then create form1 there. and in form2' s button_click event pass the click to form one (I made the button_click in form1 public. //Form 2 Form1 frm1 = new Form1 (); private void button2_Click( object sender, EventArgs e) { frm1.button_click(sender, e); } The ...Show All

©2008 Software Development Network