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

Software Development Network >> z. m. khan's Q&A profile

z. m. khan

Member List

eliewadi
James Brock
TimmayB
Martin Schmidt
nc-ghost
Hir&#233&#59;n
AGPX
olapdummy
chatty_uk
Arkady Frenkel
Rune Gulbrandsen
johnstonb
Nick Winters
somegai
logtorahul
Nilay
sobo1
Spangltk
ghw123
dj1smsu
Only Title

z. m. khan's Q&A profile

  • .NET Development Ilegal characters in path of file

    An external program creates a file and send me the path of the created file something like this path = "C:\DOCUME~1\NICKOS~1.X-C\LOCALS~1\Temp\00180001.txt" When i execute System.Diagnostics.Process.Start(path); the file opens with notepad. When i try to copy the file i receive an error about ilegal characters in path. Copy(path,newPath); Does anyone can help me Thank You. If you sure that the problem is related to the "8.3" format of the path you can try to convert it to "normal" path before doing something: path = Path .GetFullPath(path); //for "C:\Progra~1" you will have "C:\Program Files" ...Show All

  • SQL Server Set Concurrent connections

    Hello, I'm planning to set the maximum number of concurrent connections, but I don't know what to set in there. Actually I know the concurrent connections averange, is there any way to calculate the max number of concurrent connections Thanks, ...Show All

  • Visual Studio Express Editions some more questions :p

    yep, its me again and i have some more questions xD 1) how can i create a picturebox in the code itself like when i click button1 then there is a picturebox created 2) i want my 'if' thing to have 2 things in it (like if (MyInt == 0 and MySecondInt == 5)), how do i do this, as 'and' didnt work 3) u can write things in a combobox, but how can i disable that u write things in it 4) u can check and uncheck a radiobutton by clicking it, but how can i do that u cant check and uncheck it by clicking the radiobutton (i have some other ways to check/uncheck the radiobutton) thx in advance Q1: private void button1_Click(object sender, EventArgs e) { PictureBox box = new PictureBox(); ...Show All

  • Windows Forms New Row Creation Problem

    Why dosent this code create a row in the database CookBookDataSet . CookBookRow row = cookBookDataSet.CookBook.NewCookBookRow(); row.Titlu = txtbxTitlu.ToString(); row.Reteta = txtbxReteta.ToString(); row.Ingrendiente = txtbxIngrendiente.ToString(); this .cookBookDataSet.CookBook.Rows.Add(row); this .cookBookTableAdapter.Update( this .cookBookDataSet.CookBook); row.AcceptChanges(); Why is it there is so little help on this forums It drives many to abandon the Microsoft suite and stroll to more Linux-Type forums where there is always help ... is it SO hard to answer questions ...Show All

  • Windows Forms Email Formatting

    I am trying to make a program that emails the text of a RichTextBox. The problem is that when I send the email, the text is unformatted i.e. no line breaks, no font specifications, etc. I tried using the Rtf property of the RichTextBox but the email sent contains the actual rtf code and not the formatted text. ... aMessage.Body = richTextBox1.Text; smtp.Send(aMessage); Thanks in advance. Eitan ...Show All

  • SQL Server Cubes

    Hi, I have two Data Sources from two different servers.. Using that i have created two cubes namely HostCube and Applications Cube..Now i need to link the two cubes based on host name.. Host name is present in Host cube and Site name is present in Application cube.. I need to link these both and get the keywords, referal page, number of applications running and number of visits. Am not able to link two cubes and get the result.. I tried using Virtual Cubes, but it just takes dimensions from both the cubes and gives the result.. Can anyone help me out in this please. Thanks in advance.. I would guess you are trying to use AS 2000 to solve the problem. You should be way better off using AS 2005 that a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. clearing it up

    so from what i understand the beta comes out on the 30th which is only for use on windows games. Then around this holiday season the full version of express will come out which supports windows and xbox360 use. And to share xbox360 game information you must subscribe to the xbox360 developers club service but you cannot sell your 360games with the express version. And then not untill somtime spring next year the pro version will come out which you need for selling xbox360 games. Is this all correct Also a couple questions i have. I read that you would not recommend the pro version for a small indie newcommers that its more for the established larger developer could you clarify on why that is so Also what most interests me is ...Show All

  • Visual Studio Team System TFS Support in Visual Web Developer 2005 Express Edition?

    Hi, I use Visual Web Developer 2005 Express Edition (VWD2K5EE). If I install Team Explorer then TFS source control will be available in VWD2K5EE IDE Can I connect Team Foundation Server via VWD2K5EE Thanks & Regards ...Show All

  • Visual C# How to read a binary file into String?

    Please note my binary here does not mean the 1s and 0s, but those unprintable characters. I tried to use File.ReadAllText() but found that the data has been changed. And if I use File.ReadAllBytes(), then I found that in order to convert Byte[] to String, I need to define an encoding. But the data is not a language text but actually some image data. What is the best way to convert a byte array of unprintable character to String Please help. I will grade your answer. Thanks Matthew Watson wrote: If it is not text, why do you need to convert it to a string Why not leave it as an array of bytes Good question. The reason is that I need to manipulate the content by adding some text in ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. ClickOnce support?

    Is it possible to create XNA apps and distribute them via ClickOnce This would be ideal for online distibution of PC games, especially small ones like hobbyist games. We're investigating ClickOnce. It would be good to get feedback from the community on how important ClickOnce is vs. other installation technologies (pure xcopy, MSI, etc...). Are people generally familiar/comfortable with ClickOnce Paul ...Show All

  • Visual Studio 2008 (Pre-release) Enumerations over indigo

    I am getting the following error on a call I'm making over indigo from an asp client(and non asp client also) Enum value '258' is invalid for type 'ImageInfoOptions' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute. This is my Indigo Contract: [OperationContract] Result GetImage(int imageId, string userName, ImageInfoOptions imageInfoOptionsEnum); This is my enumeration declaration: public enum ImageInfoOptions : short { a = 0, b = 1, c = 2, d = 4, e = 8, f = 16, g = 32, h = 64, i = 128, j = 256 } And this is my call from the client: GetImage(1, "Test", ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Very Very Simple but couldnt find out

    Whats wrong with the following code I have developed even a mini cad with some basic shapes....with directx ....but when i started a new project and started coding I dont see any vertices or lines or triangles.....the sample uses triangle list, but itried with lines and points also........no use.....just a black screen comes up.....is it any problem with the camera .... plz guys tell me....... Imports Microsoft.DirectX Imports Microsoft.DirectX.Direct3D Public Class Form1 Dim d3ddevice As Device Dim vb As VertexBuffer Dim verttype As New CustomVertex.PositionColored Dim camera, camtarget, cameraup As New Vector3 Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me ...Show All

  • .NET Development .net, .mdb, and the framework

    I am a consultant and I have commissioned work from a programmer I have hired, the software is written in .net for Windows and is not web based. The problem we are having is causing us to pull our hair out. The problem is this: On the developers WinXP machine with 03 visual studio the application he wrote works phenomenally well. On my machine Win2K no visual studio the application he wrote works phenomenally well. The unfortunate problem is that the CLIENT has installed the same application multiple times (XP SP1 and SP2) and is consistently getting the table display errors, either to do with the database access or something to do with the draw routine. He has installed .NET framework 1.1 from MSFT multiple times but its always a no go. I ...Show All

  • SQL Server FULLTEXT query returning irrelevant results with the relavent ones

    Hi, I have the following query running against a fulltext index: sqlComm.CommandText = "SELECT TOP 200 RANK, intID, chLink, chTitle, chDescription, chAuthor FROM FREETEXTTABLE( tblData, *, 'ISABOUT(" + searchstring + " WEIGHT(1.0))') a JOIN tblData b on a.[KEY] = b.intID ORDER BY RANK DESC;" ; Anywas there are certain results that are returned no matter what the query is, along with actual relevant results. One in particular is returned as the top results no matter what I type, even though it has none of the text that I am typing in any of its fulltext fields. Any ideas why this might be happening It looks like you are using freetexttable incorrectly. Freetext q ...Show All

  • SQL Server Windows Server 2003 R2

    Hello I have 2 IBM servers with Windows 2003 R2 as OS.I Made a backup of the critical files using NTBackup form 1 server into the Autoloader which is a tapedrive.I tried to recover the backup to another server using the NTBackup and was not able to view the backup that was made into the Autoloader .I am not able to do hotswap can anyone advise on this. regards savitha im afraid this is the incorrect forum for your question. These forums are for software development but more specifically this subforum is for SQL Server. I'm afraid I have to ask you to post your question to the appropriate communities: www.microsoft.com/communities Thanks! ...Show All

©2008 Software Development Network