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

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

Deerhake44

Member List

Squiddy
Guy F
Sean Connolly
bxchan
Mike Wachal - MSFT
Torpedo
MarcoViY
Franco Finstad
Kapalic
Shadowsoul
cdx11356
Simone1
MandoBoon
EwenTweedie
Adrian Crawford
Ashish Vyas
David Weller - MSFT
pavankumar.D.V.
DDisco22
ayacenda
Only Title

Deerhake44's Q&A profile

  • Visual C++ Telnet code in C++

    Hello, I am trying to modify an existing piece of telnet code. I have modified the 2 of the existing functions in the code and added one new function (filter function to perform the IAC filtering). The two functions read and connect are the ones I tried to modify. I tried running the application after the changes and it gave me a memory mishandled error. The code is as follows: int CTelnetClient::Read(char *data, int maxlen) { // check how many data are ready DWORD readydata=0; int nbyteread; int filter = 0; IOCtl( FIONREAD, &readydata ); //there is a seperate function that is waiting for data. if( !readydata ) return( 0 ); // read the data memset( data, 0, maxlen ); if( readydata<maxlen ) maxlen = re ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can Xbox360 controller use on PC for XNA Game?

    Can Xbox360 controller use on PC for XNA Game I want to write the code about Input.So I need the xbox360's controller. Can I just plug the xbox360's controller into PC and run the XNA Game Or Should I connect to Xbox360 to run XNA Game for input Yes, you can use the controller on the PC (the corded version). Theres an special version of the controller which is boundled with a driver for Windows. This driver are also available to download from Microsoft. Take a look at this sites: http://maximumpc.com/2006/02/xbox_360_contro.html http://mattbrett.com/archives/2005/11/configuring-your-xbox-360-controller-for-windows/ ...Show All

  • Windows Forms ComboBox Binding Problem

    Hi, I'm having problems binding a combobox to a .mdb database. I have a series of textboxes bound to the database so I know the database is connected. The combobox displays nothing or System.Data.DataRowView depending on what SelectedItem and SelectedValue to after reading back from the database. I have the properties ValueMember and DisplayMember pointing to the field I want to display. Can anyone help selectedItem - the item chosen from the list SelectedValue - the value member chosen http://msdn2.microsoft.com/en-us/library/system.windows.forms.listcontrol.selectedvalue.aspx DisplayMember - the field to bind the control to from the datasource http://msdn.microsoft.com/library/defau ...Show All

  • Visual Studio Express Editions How to create a hyperlink?

    Im quite new to C++ but have looked on the help and just get errors so I thought Id ask on here. I need to link text in a application to a file on my website but dont know how to do this: My code (that I need help with) private : System::Void linkLabel2_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e) { } So can anyone help me and if so please give me the code to do so or a link. Thanks "Link text in an application to a file on my website". That doesn't mean anything. Please explain exactly what you want to accomplish. ...Show All

  • Visual Basic Problem getting values by other form

    I everyone... i'm having a problem when i try to get a textbox value in a class... I have a form, called frmSettings, and a class, clsSettings, where i need to save in My.Settings the values of each object in frmSettings ... frmSettings: - In OK button, i put this code... Dim def As New clsSettings def.Guardar() clsSettings: - In save function i've got this... Public Sub Guardar() With frmSettings My .Settings.servidor = .txtServidor.Text My .Settings.porta = .txtPorta.Text If .chkSSL.Checked = True Then My .Settings.ssl = True Else My .Settings.ssl = False End If My .Settings.username = .txtUsername.Text My .Settings.password = .txtPassword.Text If .c ...Show All

  • .NET Development HttpWebrequest Post

    Hello Im trying to upload a file to a https address using the getRequestStream method of the httpWebRequest class. The code appears to work fine and no exceptions are thrown, but the file does not appear to have uploaded to the server. The stream is working as it should. The server requires authentification via a public key, which i have and is installed. I have used the CreateFromCertFile method of the X509Certificate to add the certificate to the WebRequests client certificates. I belive this method extracts the public key from the certificate If I try and call the GetResponse method, an exception is thrown - The remote server returned an error : (401) Unauthorized. The URL is something like https://somesite.com:500/test/tes ...Show All

  • Visual Studio Express Editions Formulas like excel

    Can anyone tell me how a program like excel handles formulas. From what i can see it looks like it stores the formulas somewhere away from the database. How does this work Or am i even close Can someone tell me how to create something similar if i wanted to store the value in a particular cell, how would i do that Dim cell1 as integer cell1=Me.MaintableDataGridView.Rows(0).Cells(0).value or would i use .formatted value instead of .value What i am after is a way to do something similar without having to declare every single cell. I would have to declare approximately 40,000 cells. ...Show All

  • Visual Basic Do nothing in a while loop

    I have a while loop that runs until one of two conditions are met. 1) A timer elapsed 2) A COM object raises a event that is done doing a task This works great but while the program, it's a window service, is running, it utilizes 50% of my CPU power. How can I make the service do nothing when it's in the while loop My code: With Timer1 .Interval = maxTime * 1000 .Enabled = True Dim i As Integer Do While Not ReadyState And .Enabled i = i + 1 Loop .Enabled = False End With that is bad design. It will take up the CPU as you have mentioned because there is nothing to do/its going fast in the loop. you can add a Thread.Sleep(200) to sleep the threa ...Show All

  • SQL Server A data source instance has not been supplied for the data source

    Hi Guys, I have create a report and it works in development mode. But when I call this report from aspx page it give me above error message. Please let me know how can I setup datasource of this report at runtime. Below is my code Regards ReportParameter [] rptPara = new ReportParameter [1]; rptPara[0] = new ReportParameter ( "rDate" , WebDateChooser1.Text, false ); ReportViewer1.LocalReport.ReportPath = @"C:Business\RPT585.rdl" ; ReportViewer1.LocalReport.SetParameters(rptPara); ReportViewer1.LocalReport.Refresh(); http://blogs.msdn.com/bimusings/archive/2005/07/01/434659.aspx I think this article should answer your question. I was experiencing the same error and Russell ...Show All

  • SQL Server Setting width of parameter text box?

    Is there a way to set the width of the parameter text boxes in the Report Server UI As luck would have it, I need it to be just a few characters wider. Thank you, Dick Campbell Mike, I too am looking to edit the display of the report parameter window itself. I noticed that on a post back some of the fonts become too large and I would like to configure the format in which the date shows up when I select a date parameter. Is there any way i can achieve these things ...Show All

  • Windows Forms Creating a color chooser

    How to create control like the one in MS Office,from which the user choose a color Or how to fill a combobox with different colors for combox you can use set combox drawmode to OwnerDrawFixed than add code at draw item event private void comboBox1_DrawItem( object sender, DrawItemEventArgs e) { Rectangle r= e.Bounds; Font f=e.Font; string s = this .comboBox1.Items[e.Index].ToString(); Graphics g = e.Graphics; g.FillRectangle( new SolidBrush ( Color .FromName(s)), r); } ...Show All

  • .NET Development Repeater and datalist

    Hi i am Vojislav Milutinovic from Serbia (Europa) and i have problem with a nested datalist control inside repeater. So pleas help me. Problem I have database with 3 data tables. First with employes , second with pictures and thrd with idkeys from this two tables because i want to every employe have many pictures so thats a many to many releshionship. I made DAL and BLL , on presentacion layer i have two datasource object first DS1 is list of all employes and second is DS2 with list of pictures but with parameter IDEmploye so i can find pictures for every employe. I made repeater and inside datalist (for list of pictures that he have , just names not real images) . Data repeater shows ok , but datalist shows data fro ...Show All

  • Visual Studio 2008 (Pre-release) Repeating controls

    Hello all, I was wondering if there was any way to repeat a row of controls Say I have 2 ListBoxes, 2 Radio buttons, and an Edit box in a row, and I need 6-7 such rows. Right now I create one such row, and copy paste it, and change the Name attributes. This really bloats the Xaml. I could use a ListBox and use that to repeat the rows by style-ing the ListBoxItem appropriately. But is that the way to do it Would there be such sort of native repeater control in WPF Something like the one in ASP.NET An alternative is to use procedural code - but I am consciously trying to avoid doing that. After all, Xaml wasn't introduced for nothing - might as well try and utilize its capabilities to the maximum, eh :-) Thanks in advance. ...Show All

  • Visual Studio Team System Compatibility between VS Professional Edition and Team Edition

    I would like to know if a solution built on a machine with Professional Edition can be opened on another machine with Team Edition. I am getting the following error: " The Project type is not supported by this installation" Thanks Its a ASP .Net web application. any clue thanks ...Show All

  • Visual FoxPro No changes apply after build exe

    I have add in new form, make amendment to the menu for existing project. Then I rebuild the project and rebuild the exe file. However no changes seems to apply in exe when i run the exe file in live environment. I make all the changes in my test environment, when I run the exe in my test environment the changes apply. When I put it in live environment no changes apply. I wonder what's wrong with my step on building the exe. Please guide me on how to add in new form in the existing project, make changes and generate menu, plus building project and exe file in visual foxpro 6. Thanks. put set step on in the menu item where u are calling the form and run the app or prg. if u go to trace mode and the form u ha ...Show All

©2008 Software Development Network