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

Software Development Network >> Harri Pesonen's Q&A profile

Harri Pesonen

Member List

M Thomas
bang_zippy
r3n
KevinBurton
KipK
DKB
Karin Huber
Dorisdvu
Stephen_Sbh
Reena33
Luciano Correia
IB00
Vassilux
AlexBB
trillian74
Kornfish
Dave Morley
Darren Tao
Mayer Thomas
VickyN
Only Title

Harri Pesonen's Q&A profile

  • Visual Basic Cross Form Control

    Hi, I have a graph on my main forum ‘frmmain’ the commands of which are controlled by Dim myPane2 As GraphPane = zg2.GraphPane I need to creat a new forum called ‘frmoptions’ so that the user can change things like the graph title etc, how do I gain access to myplane and all it’s controls though the new ‘frmoptions’ such that the following code in my ‘frmoptions’ would work and change my graph on my main forum ‘frmmain’ Dim myPane2 As GraphPane = zg2.GraphPane myPane2.Title.Text = titletxtb.Text.ToString ‘ This text box is on ‘frmoptions’ myPane2.XAxis.Title.Text = xaxistxtb.Text.ToString myPane2.YAxis.Title.Text = yaxistxtb.Text.ToString if radiotbn = true then ...Show All

  • Visual C# Need help converting VB to C#

    Hi Can someone help me by converting this VB to C#. Thanks a bunch. James Keele Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(Modulo10(TextBox1.Text)) End Sub Private Function Modulo10(ByVal strNummer As String) As Integer 'strNummer may only contain numbers between 0 und 9! Dim intTable(10) As Integer Dim intTransfer As Integer Dim intIndex As Integer intTable(0) = 0 : intTable(1) = 9 intTable(2) = 4 : intTable(3) = 6 intTable(4) = 8 : intTable(5) = 2 intTable(6) = 7 : intTable(7) = 1 intTable(8) = 3 : intTable(9) = 5 For intIndex = 1 To Len(strNummer) intTransfer = intTable((intTransf ...Show All

  • Smart Device Development Sending Messages from a CE Device to PC and back

    Hello Im having problems using MSMQ to send messages from a CE Device to a PC I have created the queues on the 2 platforms but when I try to send a message to or from I get a queue not found error. using server explorer I have verified that the PC queue exists and using msmqadm I have verified the the CE Device queue exists. output from admadm for the CE Device Status command: 0. DIRECT=OS:RLC_XSCALE\Private$\Client;JOURNAL PRIVATE, LOCAL, LOCAL CONNECTION, 0 Msg, 0 Bytes 1. DIRECT=OS:RLC_XSCALE\Private$\Client PRIVATE, LOCAL, LOCAL CONNECTION, 0 Msg, 0 Bytes 2. DIRECT=OS:RLC_XSCALE\PRIVATE$\order_queue$ MACHINE, LOCAL, LOCAL CONNECTION, 0 Msg, 0 Bytes 3. MACHINE=0dabb9e6-b032-d96c-cf5b-29da644da953;JOURNAL MACHINE, LOCAL, LOC ...Show All

  • Visual C# Proceses and Arguments?

    How Would I Send a command to CMD like netstat through c# and So far My app can open CMD I'm lost from here... Any help would be appreciated TY... If I understand correctly, you wish to pretty much "write" into the console from your application correct Well I guess you would need to start that process, CMD, then redirect the input and output streams to your application so you can control it and send commands etc....within your application Take a look at the link I supplied, it will show you the things to do. (look for redirectstandardinput and redirectstandardoutput) ...Show All

  • Software Development for Windows Vista Windows SDK Documentation

    Hello,   If you have the Windows SDK and Visual Studio installed, you can help me.  Please tell me if your Windows SDK documentation is integrated with your Visual Studio 2005 documentation.  Thankyou. Because mine isn't.  Assistance appreciated. I did a clean installion of Visual Studio on Vista RC2, and I installed the following additional items in the order shown. installed VS2005 sp1-KB918525-X86-Beta-ENU installed MicrosoftR WindowsR Software Development Kit for RC 1 of Windows Vista  and .NET Framework 3.0 Runtime Components installed Microsoft Visual Studio Code Name Orcas Community Technology Preview  – Development Tools for .NET Framework 3.0 - vsextw ...Show All

  • Visual C# creating controls dynamically

    Hi, I just started with this project where I need to create controls like listboxes and textboxes dynamically based on an xml input. Though this could be done quite easily by incrementally positioning the controls vertically, the issue comes in when the size of the window isn’t big enough to hold all controls. So I was wonder if there’s a way to create a container that would hold the various controls and provide a scrolling feature when the window is unable to hold all controls I’ve been looking for a solution for days now and I haven’t had any leads. Any suggestions would be appreciated. Thanks, Hi, What you want is a Panel. The panels have the AutoScroll property that you ca ...Show All

  • SQL Server SQL Server Express 2005 fails to install

    I am trying to install MS SQL Server Express but the installation always fails. I have copied the summary log below and can provide more details if you require. Web Developer and C# Express install OK. I have been trying to install this for around 2 weeks now with no luck ... I even had the PC formatted and rebuilt but the install still fails. If it installed and worked before, i cannot understand why it doesn't work now. The summary log is provided below: Microsoft SQL Server 2005 9.00.1399.06 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) Time : Thu Jun 22 10:42:08 2006 GLKD2396800 : The current system does not meet recommended hardware requirements for this SQL Ser ...Show All

  • Smart Device Development Get Your Applications Ready for the First Windows Mobile Powered Smartphones with 320x240 Screens

    Get Your Applications Ready for the First Windows Mobile Powered Smartphones with 320x240 Screens The Motorola Q and Samsung i320 bring the first landscape 320x240 screens to Windows MobileR powered Smartphones. These devices will be in the hands of many of your new and existing users. Is your app ready Adapt Your App now with the new Landscape Smartphone emulator image and Microsoft's guidance, tools, and resources. They'll help you ready your code for the latest announced devices and be well prepared to support additional form factors as they hit the market. Visit the Adapt Your App page in the MSDN Windows Mobile Developer Center; it's a one-stop source for all the latest information and resources you need to build resoluti ...Show All

  • Visual Basic windows toolbar dropdown button

    Hi, All, I have developed a window app in vs2003. On this form I have a toolbar. One of the button is of dropdown style. As it is right now, mouse clicks on the main icon area of the button will do nothing. Only clicks to its arrow down area (the narrower strip on right side) will make the dropdown menu show. Does any one know how to make the click on the main icon area has the same effect as clicking on the down arrow Also, I am converting my project to vs2005. Is there any new control in vs05 that will give me the feature Thanks! Hi, In 2005 it's very simple. Just drag a ToolStrip control on your form, then add a DropDownButton control in the designer. The designer then asks for the ...Show All

  • Visual Studio Team System Upgrade problem : "TFS sql server exists and their schema doesn't match..."

    Hi upon trying to upgrade to RC I encountered a problem : "TFS sql server exists and their schema doesn't match the version expected by setup" how do I workaround it all the upgrade steps went fine until this one.... 10x, guy Thanks Allen, It worked. I have successfully installed VSTS RTM, but I am not sure how do I now add my existing projects I can create new projects just fine after uploading my customized process template. Please let me know. Thanks, ...Show All

  • Visual Studio Express Editions A Mute comand ???

    hi its a simple lil thing all i need is when a picture or button is clicked an double clicked the volume of the computer is muted Simple as :) i've searched and cant figure this out not using windows media player or anything just the computers Master volume to = 0 :) The program i have written is for a Team communications system for a University project as i said i am an engineer so most of the work is in the hardware i have working with the software i uploaded the code an software to : http://homepage.ntlworld.com/hugh.tomlinson/ i got most of the stuff working bit shady on the database binding which isnt working like i would like but the mute un-mute thing is the last thing i need to work an cuz i am only making one reciever ...Show All

  • Visual C# How to strip some parts out of a string

    Hi I have an array of data (dimension = 19) I knew that the last bytes contains float number (in this example it is 139.25) After using Encoding.ASCII.GetString(data) i get a string contains special characters with 139.25 how can i strip these special characters and get only 139.25 =========================================== Please see this picture for more details http://www.swa7.com/upload/uploading/ArrayOfData.jpg =========================================== Is there another way to get the float number only out of the array data While I think that the format of the binary data would be useful in developing a more elegant solution here is the short term solution: You can u ...Show All

  • .NET Development The request failed with HTTP status 502: Proxy Error ( Connection refused )!!

    Hi friends am calling a 3rd party web service and when i call one of their methods i get above error my question is it our firewall throwing this server or 3rd party server proxy server throwing this how do a troubleshoot this one please Thanks for ur help my sample code 3rdpartyService sg = new 3rdpartyService(); sg.Url = "http://IP.address.goes.here/3rdpartyService"; sg.Proxy = System.Net.WebRequest.DefaultWebProxy; sg.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; try { VersionType versionInfo = sg.getVersion(); txtReceivedMessage.Text = " getVersionResponse: " + "\r\n" ...Show All

  • Visual Studio 2008 (Pre-release) Hyperlink bug?

    I'm using the hyperlink tag to switch my standalone window from window 1 to window 2 and vice versa. But the link doesn't work when i click in "Go To The Windiw 2" :-( windows1.xaml <Window x:Class="Server.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Server" Height="300" Width="300" > <Grid> <StackPanel Background="LightGreen"> <TextBlock DockPanel.Dock="Top" Margin="10,10,10,10">Window1</TextBlock> <TextBlock HorizontalAlign ...Show All

  • SQL Server ROLLBACK TRANSACTION

    Hi everyone, In the following T-SQL code snippet,when I attempt to insert more than one record I encounter an error because of the following trigger but I have some doubts about the performation of ROLLBACK TRANSACTION in here. So there is only one transaction occured in the specified table that contain both trigger and the specified table however I supposed that when we call ROLLBACK TRANSACTION, the transaction is aborted. But the code run the Raiserror statement which is located in after the ROLLBACK TRANSACTION statement. So why do this code( Raiserror) is run Should not it be terminated because of the ROLLBACK TRANSACTION statement ALTER TRIGGER kimlikNo_Degistir ON Bilgi FOR INSERT AS IF(SELECT COUNT(*) FROM Inserted) > 1 BEGIN ...Show All

©2008 Software Development Network