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

Software Development Network >> talha zia's Q&A profile

talha zia

Member List

TWKnight
Latso
Ganesh Bala
Keith Vinson
Tom Janssen
Kirk Evans
Sam Hobbs
Jimmy.Lin
MeAndYou
thomas_woelfer
Healthcare Network Admin Jerry
Divermarv
Jamie Thomson
JayatMed
Noah Nadeau
Gishmibop
fighter92
Ralph Trickey
VenkateshBabu
Angry Coder
Only Title

talha zia's Q&A profile

  • Visual Basic Convert a stored value in a database to an object

    I am storing the name of controls in a table and want to load the value of those controls with a value in the database. How can you access every control in a form (not "on" the form like Me.Controls because that doesn't see everything in group box ect.) ex. cbo as combobox cbo = AllControls .item(Row!ControlName) cbo.SelectedValue = Row!ControlValue Thanks. jeff357 wrote: How can you access every control in a form Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Dim AllControls As New List ( Of Control ) For Each c As Control In Me . Controls AllCo ...Show All

  • SQL Server Can't connect to server

    I reinstall sql server develope edition. Then I try to connect the server from another computer, it shows below infomation. But in server property, it allows remote connection. I don't know whether it was caused by reinstall. Before reinstall, I can connect to the server, but it's edtion is group version. And edition for client is also group version. Any one can help me Thank you very much! TITLE: Connect to Server ------------------------------ Cannot connect to *.*.*.*. ------------------------------ ADDITIONAL INFORMATION: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. When connecting to SQL Server 2005, this failure may be caused by the fact that under t ...Show All

  • SQL Server Reporting Services setup and problems

    I have posted this to the general SQL Server group but without any response. I have also searched all of the forums and have not found an answer. For some reason all of a sudden, my Reporting Services is failing with this message when trying to connect: TITLE: Connect to Server ------------------------------ Cannot connect to UKCINT\UKCAZOSQL. ------------------------------ ADDITIONAL INFORMATION: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title> SQL Server Reporting Services </title><meta name="Generator" content="Microsoft SQL Server Reporting Services 9.00.1399.00" /&g ...Show All

  • Visual FoxPro Arrange the "character string" numbers in order

    I use the character string for number input. What Syntax should I use to sort out the “character-string” numbers as below For example: To sort out according to the number 1 1 12A 3 3 4 4 5 443546 12A 5 443546 555AB 555AB Thank you. If your strings are like you showed then you could sort using val(). ie: select myString, val(myString) from myTable order by 2 PS: I didn't actually understand your logic of sort (human wise how do you sort it like that What ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Setting project up to be cross platform

    Hello Any advice on what's the best practice for setting up your game to run on both PC and Xbox Even better if there could be an included example of this. I'd like to develop my game on the PC and only running the 360 version periodically. In the past I've set up seperate builds so I'd have a release\debug versions for PC, PS2 and Xbox1. I've seen posts mentioning creating one solution with two projects in and then adding the source to the other project as a link. I have my project like this but I find I'm having to add any new source files twice, once to the PC version and once to the 360 version. The same goes for any data I decide to add. This doesn't seem the best way of dealing with it so has anybody come acros ...Show All

  • Visual C++ Converting time in MSG to COleDateTime

    Hi, I am using MSG to retrive the message I am getting all the details I am unable to decode the time which is in DWORD type. Is there any idea plz inform. Check this thread . Second question today on a really obscure topic. Is this a class assignment ...Show All

  • Smart Device Development Knowing when Application.Run(MainForm) has finished showing the MainForm

    Hi all, Is there any way of knowing when the Application.Run(MainForm) has finished showing the MainForm I need to show another form on top of the MainForm, but i don't know when it's loading is finished and the new form is always hidden by the MainForm... Any help would be great! Regards, Pedro Usual patter for forms would involve some user interaction, e.g. user pushes the button on MainForm and Form2 pops up. However your case is not like that, your MainForm does nothing but popping up Form2. I suppose you can simulate normal pattern with, say, timer like this: private bool isFirstActivation = true ; private void Form1_Activated( object sender, EventArgs e) ...Show All

  • Visual C# Case sensitiveness (For Console Application)

    My current code: string math; <insert stuff> math = Console.ReadLine(); if (math == "add") { <Insert stuff> } My problem is that it only triggers if you type add, not when you type ADD or whatever, any idea how I would go about this I know it has something to do with ToLower, but I don't know what to do with it.  I tried to do math.ToLower(Console.Readline()); and vice versa which of course didn't work :(. Try this: math = Console.ReadLine(); if ((math.ToLower()) == "add") { <Insert stuff> } I hope it works ;-) ...Show All

  • Visual Studio Need .Net framework 1.1 for programs, Have 2.0 loaded.

    I have .Net framework 2.0 loaded on XP Pro Sp2. I need files for 1.1 to run several programs. Can not unload 2.0 enough to load 1.1 then 2.0. Any ideas ...Show All

  • SQL Server Need textboxs in a table to show zeros if no record found - not a NoRows message

    I need a way to have the text boxes in a table to show a 0 if there is no record found for the query (not looking for a NoRows message). I've tried setting a default value for the textbox, but it isn't displayed since the query is empty. Is there a way to setup the query to have an if statement that would return a value of zero for the fields as in: If recordcount =0 then set field to 0 The textboxes are visible when the query returns data. I solved it by creating a record on the database that had zeros and then selecting that record if the original query is null. Basically the query is: If exists(Select * from table1 where id='1') select * from table1 where id='1' else select * from table1 whe ...Show All

  • Windows Live Developer Forums [JAVA] AdCenterAccount.getPaymentOptionsType() returns null.

    Hi, I am wondering why the AdCenterAccount.getPaymentOptionsType() method returns null for each of my account I read in the documentation that this method requires a Customer Aggregator Role so I thought it could be the problem. BUT, other methods such as AdCenterAccount.getPreferredCurrencyType() and AdCenterAccount.getPreferredLanguageType() also require a Customer Aggregator Role but return a value anyway (not null). Yes, this is by design. You may see some changes to this behavior later on, but basically you need to have the aggreator role to make useful calls into these methods. Thanks, Shai ...Show All

  • .NET Development EBCDIC IBM037 encoding ignores line-feeds???

    It seems as though using clsFTP with: Dim b As Encoding = Encoding.GetEncoding( "IBM037" ) doesn't work. It ignores linefeeds and the text doesn't wrap properly. Anyone else heard of this Any solution Thanks. According to this document , section "EBCDIC lineFeed mappings cause invalid characters', near the bottom, IBM037 has two codes for a line feed, 0x15 and 0x25. .NET appears to use 0x25: byte[] bytes = System.Text.Encoding.GetEncoding("IBM037").GetBytes("hello\r\n"); I saw another web page that mapped it to 0x15. No wonder ASCII won... ...Show All

  • Smart Device Development PocketPC Windows Media Player

    Hi, Not sure if this is the correct forum to post this question too. On my PocketPC I have Windows Media Player 10 for Pocket PC. On my laptop I have Media player 10. I wanted to run some of the Webcasts(.wmv files) that are available on the developers sites on my PocketPC. They all work fine on the laptop but when I use the media player to sync them to my PocketPC they will not sync. Get some type of media types do not match error. If I bypass using the laptop media player and just copy one onto the PocketPC it works, just audio not video though. Not sure if I can even run the same .wmv files on the PocketPC. Thought I could. Any help would be appreciated. Jeff This fo ...Show All

  • Visual Basic Print contents of picturebox

    In my application lines and text are drawn in a picturebox.  My problem is that I struggle to print the contents of the picturebox.  The picturebox doesnt contain an image, only text and drawn shapes.    INFO: I am using Visual Studio2005 to create the application (VB.Net) Operating System: XP Pro   Christie You're not saying what kind of problem you have trying to print the PictureBox image. You'd print its contents with e.Graphics.DrawImage(PictureBox1.Image, ...) in the PrintPage event handler... ...Show All

  • Windows Forms Help me values

    I have a listbox that is keeping the values of my variables... my worry is that i'm not obtaining put the value in this order e4 e5 is staying a under of other i want that only it falls for the line of low when the two value the will be already registered. my code is it: { this .lb.Items.AddRange( new object [] {lstr}); lstr=lstr + "" + lstr2 + (j+1).ToString(); MessageBox.Show(str + " is mated"); } else { lstr=lstr + lstr2 + (j+1).ToString(); this .lb.Items.AddRange( new object [] {lstr}); MessageBox.Show(str2 + " checked"); } } else { lstr = lstr + "" + lstr2 + (7-j+1).ToString(); this .lb.Items.AddRange( new object [] {lstr}) ...Show All

©2008 Software Development Network