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

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

Piyarit

Member List

RayCan
Scott Chang
DotNetSavvy
Sten Palmqvist
http://www.ilkon.com
Sergey Jmacov
Mohyneen
lenik
Jim P.
Julian V
Alexey Nayda
xt_knight
Fahad349
oaix
CoolTami
AlanKohl
crisbenge
SoniaJulka
SteffenRoeber
Dan OConnell
Only Title

Piyarit's Q&A profile

  • Visual Studio 2008 (Pre-release) Bound a Command to a Event in "loose-Xaml"

    How ca I bound a Command to a Event Something like this: <Window     xmlns:cmd="clr-namespace:MyCommands;assembly=MyCommands" <Window.Resources>     <cmd:OpenWindowCommand x:Key="OpenWindow1" cmd:Xaml="TestWindow"/>   </Window.Resources>      <TabControl SelectionChanged="{StaticResource OpenWindow1}" Name="MyTab" Margin="144,237,57,18" IsSynchronizedWithCurrentItem="True" > Is there a way to do this with a loose-XAML (XAML without "x:class") Horst Hi Horst, I'm not entirely sure what all of the constraints you have within your application, however, you may be able to use the x:code directive in the fo ...Show All

  • Visual Basic how to change code from visual basic to visual C #

    I was wondering if I can change a piece of code from visual basic to visual C#. Here the code. Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click RichTextBox1.Clear() End Sub Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim Line, Star As Integer For Line = 1 To 10 Step 1 For Star = 1 To Line Step 1 RichTextBox1.AppendText( "*" ) Next Star RichTextBox1.AppendText(vbCrLf) Next Line End Sub Private Sub Button3_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ...Show All

  • Visual Studio Express Editions Qbasic commands in VB 2005 Express

    I wrote a math formula in Qbasic and I am trying to get it to run in VB 2005 Express, it has a lot of nested loops and comparison statements (If Then Statements). I have watched two chapters in the tutorials for VB 2005 Express and it is relating more to forms then to the math formulas I need it to run. Is there a way to get it to run or do I need to fork out $200 for Power Basic Kent , Thank You for the translation, I will print these out and take them with me when I go on vacation tomorrow along with a VB book. This will help me make the compaison from the old language to the new. Since I am going to a place without power I will only be able to study the theory and not be able to try ...Show All

  • SQL Server Character encoding

    Hello, I am having issues with the Microsoft SQL Server Management Studio, and character encodings. I am wanting to store Japanese characters in my database. As I understand it, if I set the 'Collation' type of the database to "Japanese_Unicode_BIN", and set text fields to the datatype "ntext" I should be able to do this. Now, when I create a new SQL query, it displays Japanese characters fine (when I type out the SQL query to execute). However, when I open and view the table I have inserted Japanese characters into, they display as square boxes. The same is true if I return results containing Japanese characters. Is there something I can do to get the Microsoft SQL Server Management Studio to display character ...Show All

  • Software Development for Windows Vista Red 'X' in exchange webmail

    Since using Vista RC1, I cannot get Webmail to work on exchange server 2003. (sp2). I've tried anohter webmail client at my ISP and that's OK. What happens is, when you have logged in and you go to compose a new message, you get a red 'X' in the very bottom window where you would normally type the body of your email. I have turned off the phishing filter, pop up blocker.. and even added the site to the trusted zone, but to no avail. The really strange thing is that I don't think it's an IE7 fault, as I was using the Beta of IE7 on my PC before upgrading to Vista, and it worked OK. I have a jpg if there is a way of uploading it. i have submitted this to Microsoft, but wouldn't mind an answer prior to final release! Chee ...Show All

  • Visual C++ AVIFileInit() compile problem :o(

    Hi, I have an MFC dialog based app. I have declared the following function in the header: HAVI CreateAvi( const char *fn, int frameperiod, const WAVEFORMATEX *wfx); and in the body of this function I have only AVIFileInit(). When I compile I get the following error: error LNK2019: unresolved external symbol _AVIFileInit@0 referenced in function "private: struct HAVI__ * __thiscall CAVIFromBMPDlg::CreateAvi(char const *,int,struct tWAVEFORMATEX const *)" ( CreateAvi@CAVIFromBMPDlg@@AAEPAUHAVI__@@PBDHPBUtWAVEFORMATEX@@@Z ) I have declared #include <vfw.h> and DECLARE_HANDLE(HAVI) in the header file! Does anyone know why I get this error This is probably a simple error but as I am new ...Show All

  • .NET Development WSE/DIME - WSE352: The size of the record uuid:{g-u-i-d} exceed its limit

    I've gotten DIME attachments to work, but I'm running into the infamous 4096 limitation. How can I download a 20 meg file as a DIME attachment I've tried the maxRequestLength setting    <messaging>       <maxRequestLength>-1</maxRequestLength>    </messaging> but this doesn't have any effect. Actually, looking at the docs indicates to me that this setting has an effect for uploads, rather than downloads since this is intended to prevent denial of service attackers from submitting large file uploads to the server. How do I download really large files via DIME attachments Thanks! - Joe Geretz - Are you using WSE/DIME or native Web Services (Base64 encoded string) I ...Show All

  • .NET Development Framework1.1 and Framework2.0

    Can i install FrameWork1.1 and FrameWork2.0 on the same PC hi , a small doubt on .Net Compact Framework 2.0 .. i have installed Microsoft Visual Studio 2005 . I have developed my app using Visual studio 2005 . but when i tried to install my app in a MotorolaQ Emulator , its showing the error message as follows " A newer version .Net Compact Framework is required to run your application. " . so if i uninstall .Net Compact Framework 2.0 , and if i rebuild the application will it work on Motorola Q . Because i came to know that MotorolaQ ships with .Net Compact Framework 1.0 . i want to make my application work without installing Version 2.0 thanks sadiq ...Show All

  • Visual Studio Express Editions close to tray

    i try to do close to tray but somehow it always auto call close whenever I try to restore from tray . the window is call as another thread from main window . here the code Private Sub winSetQueue_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing if reallyclose = false then NotifyIcon1.Visible = true Me.WindowState = FormWindowState.minimized Me.ShowInTaskbar = false e.cancel = true end if End Sub Private Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.Click NotifyIcon1.Visible = False Me.ShowInTaskbar = True Me.WindowState = FormWindowState.Normal End Sub if i use hide() it will worse, the window auto close wit ...Show All

  • SQL Server UPDATE table with values from another table

    I have this one big table containing 26 mil records that I have to update as follows: 1. Table 1 (tblA) – 26 mil records a. Column LNKana – stores last names as nvarchar in Japanese Katakana b. Column FNKana – stores first names as nvarchar in Japanese Katakana c. Column FName – needs to be updated with English equivalents of first names in Katakana d. Column LName – needs to be updated with English equivalents of last names in Katakana Two nonclustered indexes: ix_LNKana si ix_FNKana 2. Table 2 (tblB) – contains 60,000 records a. Column FNKana – stores first names as nvarchar in Jpanaese Katakana (unique values only) b. Column FNam ...Show All

  • Microsoft ISV Community Center Forums Can't open regedit

    Hai.... Why if I want open regedit (run>regedit), and then show message error like that The application failed to initialize properly (0xc0000005) Please anybody help me... Jebat Thanks I have this issue too. I when i search for regedit or cmd, i have 2 copies of each. One is being used by another application, yet the other one works when i right click - open. What is the work around you spoke about (mtn on 09-16-2006) I am trying to install SP2 and it gets some way through and then cannot access cmd as 'another app is using it'. thanks ...Show All

  • Visual Basic Convert C# to VB 2005 - Problem using inpout32.dll

    Hi friends! I have this problem to convert this code to VB.net or 2005 < DllImport ("inpout32.dll", EntryPoint := "Out32")> ...Show All

  • Visual Studio Help still broken

    Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use online help first, then pressing F1 takes up to a minute (looks like multiple redirections happening), then either displays the topic-not-found page or displays something only vaguely related to the selected keyword. Oddly enough, the correct keyword is still present on the left-hand side, still selected ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need help getting started in game design...

    How doi get started in game design What software do i need Well i have no experience at all...... I am only 15 yrs old and been wantingto get started since age10, but I have just now startedreally getting committed. I dont know how to begin to learn.... ...Show All

  • Visual Basic Displaying HTML in a Browser window

    How can i change the code below, so it will not convert the returned HTML from my login request to a string and display it in a browser window instead ' Obtain the response Dim LoginRes As Net.HttpWebResponse = LoginReq.GetResponse() ' Perform the navigate and output the HTML LoginRes = LoginReq.GetResponse() Dim sReader As IO.StreamReader = New IO.StreamReader(LoginRes.GetResponseStream) Dim HTML As String = sReader.ReadToEnd 'Debug.Write(HTML) ...Show All

©2008 Software Development Network