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

Software Development Network >> Teeravee Sirinapasawasdee's Q&A profile

Teeravee Sirinapasawasdee

Member List

Ning
ReneeC
zand108
RolandKlein
PatrikC
Steve_fr88
rachbabe
geliser131
TGirgenti
shunt
Sabrecat
Flavia Lemes
rc_onecall
TA123
fibonacci1123
Al Hibbs
Eric Eichler
Alexandrea
stallion_alpa
mihrobert
Only Title

Teeravee Sirinapasawasdee's Q&A profile

  • Visual Studio Team System Few questions on merging through the API

    I'm trying to implement merge from the API and I have few question to the people in the forum. The main idea of my application is to merge between two folders (with branch relationship) based on changesets . These are the main steps of my application: Merge operation using - workspace.Merge(params) function. Looking for conflicts by querying the workspace workspace.QueryConflicts (params) For each conflict I'm trying to resolve it by - workspace.ResolveConflict (params) Then, if I can merge the content I'm trying to merge again the content using - workspace.MergeContent(param) My questions are: There is a way to command the merge function ( workspace.Merge ) to forc ...Show All

  • Windows Forms AxWebBrowser Changed?

    Hello, for some reason i started using the axWebBrowser coltrol about a year ago, i got the Visual Studio 2005 and the axWebBrowser has been changed to just WebBrowser and all the control calls have been changed, for instance AxWebBrowser1.LocationURL; is no longer available, its changed to WebBrowser1.URL; Also Im having Compilation Errors with the MSHTML.dll this line mshtml.IHTMLDOCUMENT2 doc = new mshtml.IHTMLDOCUMENT2 as WebBrowser1.Document; this line tells me that it fails to convert Document to IHTMLDOCUMENT2 because it has to implicit Conversion. Can anybody explain what to do how to use this new webBrowser...or get the old one back that is a thought but is it possible to ...Show All

  • Visual Basic Search using tableadapter.fill returns: There is no row at position -1. (Index out of Range)

    Hi, I am working on a form (details) and I need my form to allow to search on some char fields. I have a button next to the field users can search. The button calls a pop-up form to enter the string to search. ItemsTableAdapter is the table adapter used for the form. I have 1863 records in the Items table. My goal is to show only the records matching the string using the same form. I have modified the DataSet to add a query using a parameter: SELECT No, Type, ..... Interest3 FROM items where nm_latin like @srch_nm_latin order by nm_latin This code is executed when I return from the pop-up. The string contain a string. Example: "thing%" If (String.IsNullOrEmpty(Me.Recherche.Text) = False) Then Dim rech_str As String = Me.Recherche.Tex ...Show All

  • Visual Basic my sql

    can i have help with the codes in mysql to save chinese characters in the database i am using the ms sql server with vb studio 2003. thanks Scott, is indeed correct with the data types required in the database If you want to store Uni-Code Characters then you can use the nchar and nvarchar http://msdn2.microsoft.com/en-us/library/ms176089.aspx If your wanting to store non-unicode characters then you can use vhar and varchar. http://msdn2.microsoft.com/en-us/library/ms176089.aspx There is a different data storage size implication in using the nchar, nvarchar datatypes which may be unneccesary if you are using non-unicode characters. ...Show All

  • SQL Server Changes to data not replicated

    I have an application that uses web-based merge replication. My publisher is SQL 2005 and my subscriber is SQL 2005 Express. I control the replication with RMO code. If I make changes to the data in both databases using SQL Server Management Studio Express, my RMO code correctly syncs the two databases. However if I make changes to the data at the subscription through my application, these changes are not picked up by the replication process, even though the changes are present if you check the tables through Management Studio. What would cause these changes to not be recognized Any ideas would be appreciated. Hi there, If you have changed the data in such a way as to stop the triggers from firi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Setting texture wrap mode for SpriteBatch

    I can't find any means of settings texture wrap mode except by using an shader which has no effect on SpriteBatch. Also I couldn't find a means of declaring a custom vertex def with transormed coordinates but I admit to not looking real hard for that one yet. If I could that then I could just write my own sprite engine with full effect support. I read a post suggesting effects for SpriteBatches in the release version and I would like to second that. That would solve this little wrap problem real quick like. Other than that XNA has been a good experience so far. Still just a few days into it. I'm porting a long running and ever evolving 3D puzzle/action game from vc++ and with the exception of a few structural changes in the code its bee ...Show All

  • Architecture difficulty in understanding visitor pattern

    Hi All, I have confusion on why is Visitor pattern is needed.One of the famous website provides the following code to explain the use of visitor pattern,but it is nto understood by me. Can somebody please explin in simple terms what is visitor pattern and in what case it is implemented. package Transactions ; public class Transaction { public abstract void accept( TransactionVisitor v); } interface TransactionVisitor { public void visit( DepositTransaction dt); public void visit( WithdrawlTransaction wt); } class DepositTransaction extends Transaction { public void accept( TransactionVisitor v) {v.visit( this );} } class WithdrawlTransaction extends Transaction { public void acce ...Show All

  • Smart Device Development Automatic installation on a CE 5.0 device

    I need guidance on what's available that will let me, or the user, easily re-install his app when his device cold boots and loses all the stuff I originally put in for him. The steps I am manually doing now are: 1) Using windows explorer, I copy several files from c:\symbol\desktop on the PC to \windows\desktop on the device. It would be nice if I could simply create a batch file on the user's PC that would copy these files to the mobile device, but to my knowledge, I must use windows explorer, since I cannot reference the mobile device in a dos batch file. True 2) Using windows explorer, I copy three .cab files from c:\symbol\temp on the PC to \temp on the device. Then, using SOTI Pocket PC Controller, I connect to the device and ...Show All

  • Smart Device Development Menu control in asp.net 2005

    Hi, I am using menu control of asp.net 2005. I have set background color of menu items and sub-menu items to white. When i go to a menu thru mouse then the color changes to blue, and again if i go to sub menu, its(sub-menu) background color changes to blue but at this time the background color of main menu is again changed to white which should be blue .. plz give proper solution. Is there any property thru which i can do this possible. This forum is devoted to Compact Framework, not to ASP. Please post to ASP forum: http://forums.asp.net/ Closing as off topic. ...Show All

  • Visual Studio Express Editions Increasing Form Transparency from 0 to 100

    Hello every1 How can I Increase my form transparency from 0 to 100 I have wrote the code bellow in the tick event of my timer1. and I`ve set the timer1.Interval =1 , and it is working, But it is very very very slower than 1 mili second. I know there must be a little delay for running the code of tick event, but it is so slower than the interval as 1 second . ohhhhhhh pls help me on this. Am I supposed to use the "user32.dll" If Yes how can I use that What is the differences between setting the form transparency by using "user32.dll" and my way at all Private Sub Timer1_Tick( ByVal sender As Object , ByVal e As System.EventArgs) Handles Timer1.Tick Me .Opacity = i ' variab ...Show All

  • Visual Studio Express Editions VS 2005 Express Deployment

    Please help, Built a simple "helloworld.exe" windows applications with "Form". Then tried to run it on the different Windows PC, it fails with *.DLL errors. "The dynamic link library MSCOREE.DLL could not be found in specify path...." By the way, the other PC has NO .NET installed. Could this be the problem If it is, then is there a way to run my new app without .NET installed. Thanks in advance, GXO Unless you are writing the app using VC++ and using only native code, you will need .NET to run the application. All managed applications created in Visual Studio leverage the .NET runtime when deployed. ...Show All

  • Microsoft ISV Community Center Forums dtpicker MicrosoftWord Template

    Hello, I am new to VB, but have general understanding of other programming languages. I am trying to create a Microsoft Word Templete document which incorporates the dtpicker control. I would like the users to be able to select the date they made changes to the form. This form will be passed via email from rep to rep until all data is collected. Problem: 1 - when a document is created from the templete and saved; Upon openning the document at a later date the date picker does not hold the value of the last date selected. 2 I tried using text box along with the date picker and some code behind to assign the value of the date picker to a text box upon date changed. Problem when this document is passed over email this functiona ...Show All

  • Windows Forms Random strangeness in a bound form

    I have a simple customer entry application, using a form whose items are bound to a single table in an ADO.Net database. So that data entry staff don't need to type in values for obvious fields like Gender, I created a ComboBox with items Male and Female. These are bound to the database via the DataBindings - Text property. I did the same for a couple of other fields. The rest of the fields are standard text boxes When I save a record via the AddressesBindingNavigatorSaveItem_Click method, the text box data is correctly saved, and sometimes the saved ComboBox data is correctly saved, but sometimes not - ie the 0th selection is saved instead. Moreover, other records seem to get corrupted as well. One other item on the form I shoul ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Resonable Expectations for XNA Game Studio Express?

    Based on my understanding of what I have read so far I have the following assumptions (please correct me where I am wrong) and questions: With the XNA Game Studio Express I will be able to develop PC games and with a developer membership I will be able to compile a version that I can transmit localy to my XBox 360. In the first incarnation that will be released there will be no support for networking (ie. Live) online multiplayer. Is there a legal method to distribute content created from XNA Game Studio Express to specificaly targeting the XBox 360 envirionment (ie. Can you legally provide compiled or uncompiled games with the intent for other developers to download and run your creations ) Will there be any means available for XNA Game ...Show All

  • Visual Basic Help!!! Send Email with Authentication

    Hi. I need help!!! I'm trying to send a email with smpt basic authentication (username and password) with Visual Basic 2005... but...!i can't! Can anyone please help me I need to use ICredentialsByHost Thanks a lot and sorry if my english is not very good! Hi again. I can't send a email with authentication. :(  I allways get the same error. System.Net.Mail.SmtpException was caught   Message="Failure sending mail."   Source="System"   StackTrace:        at System.Net.Mail.SmtpClient.Send(MailMessage message)        at System.Net.Mail.SmtpClient.Send( String from, String recipients, String subject, String body) ...Show All

©2008 Software Development Network