Software Development Network Logo
  • Microsoft ISV
  • VS Team System
  • Smart Device
  • Architecture
  • SQL Server
  • Visual FoxPro
  • Visual Studio
  • Windows Forms
  • Visual C++
  • Windows Vista
  • Visual J#
  • Visual C#
  • Windows Live
  • VS Express Editions
  • Game Technologies

Software Development Network >> Frog Prince's Q&A profile

Frog Prince

Member List

FDSD
Pat1111
bassock
Bonner
rouie_a
zam
alexgr
morgandfgdfgdfgefdgdfgdftgdfgefd
pctaylor
Joe.B
TAG275
Samya
leemcd
Roman Müller - Interware GmbH
GTVic
Mike Schetterer -- MS
merbs11
Donal Kelly
SriramY
MBritten
Only Title

Frog Prince's Q&A profile

  • Visual C++ Importing and exporting functions from DLLs in VC++6.0

    How I can import any function from any DLL file(in VC++ 6.0). Please HELP ME!!!!!! Hi! You can't import/export C++ classes from DLL, but you can import/export C styled functions (like most of Win32 API). You need to read about P/Invoke (Platform Invoke) in MSDN and use DllImportAttribute class. ...Show All

  • Visual Basic Problem VB6 to VB 2005 conversion

    I used to do this with VB6. Type Record STat As String * 4 PkID As Integer SID As Integer SName As String * 35 Msg As String * 100 End Type Dim Rec As Record Rec.SID = Val(lblTo.Tag) Rec.STat = "M" Rec.SName = lblTo.Caption Open filename & ".log" For Random Shared As #1 Len = Len(Rec) Dim Pos% Put #1, getPos(1, "M"), Rec Close #1 I searched a lot and am unsuccessful. I don't know exactly what to do for doing above task. I will be very greatful if anybody can help in this regard. Thanks. Hi, I was able to solve above problem by using simple way like this Dim D ...Show All

  • .NET Development Problem in different Code on mail subject from pop3 server

    I build a simple programto get mail from pop3 , but i have some problem I can get big5 and iso-8859-1 encoding by use "Ecoding.default.getstring(bype)" but Ths subject Like below that i still have no idea to get the originate format after try some method: 1.) = ISO-8859-1 B VmlzdWFsIFdlYiBEZXZlbG9wZXIgMjAwNSBCZXRhMiBSZWdpc3RyYXRpb24= =vwd05reg@response.microsoft.com 2.) = big5 B RmV2YSBXb3JrcyC3c6xLrNu7RaRAqOg= = 3.) = ISO-8859-1 B VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBNaWNyb3NvZnQgTWljcm9zb2Z0IFZpc3VhbCBXZWIgRGV2ZWxvcGVyIDIwMDUgRXhwcmVzcyBFZGl0aW9uIQ== = Also does asp.net 2.0 have provide method to convert th ...Show All

  • Visual Studio Team System .testrunconfig and automation Buid

    Hello All, To make my tests work correctly I need to deploy some extra text files. So I have edited my localtestrun.testrunconfig file to add my files as deployment items. This is working fine locally. I get my file using the following code: string path = Assembly .GetExecutingAssembly().Location; path = string .Format( @"{0}\{1}" , Path .GetDirectoryName(path), fileName );   First question: Is there an easier way to get back this file Second question : when running my tests during an automated build, it doesn't work, my files doesn't get copied. My testrunconfig file is even not deployed in the binaries ...Show All

  • Visual Basic Searching a Database....

    Ok.......yah I am the one with ALL the database questions and here is another....... I have created a database with 1230 records with several from each mfg like mfgname 2003, mfgname 2004 etc...... I created a query and I populate a combo box with the Distinct mfgnames and have another binding device attached to the actual table with the data..... So what I would like to do is on the selected index change event of the combo box...search the datatabe for the text of the combo box......the index will not work because there are only 89 records in the combo and 1230 in the table so obvioulsy that aint working.... Thanks In ...Show All

  • Visual FoxPro Need help adding a new auto increment integer field to a table

    Hi     I have a table that I want to add a auto increment integer field. I go into the database designer, Right click on the table I want to add the field to then select modify. Then I insert a field and give it the name client_id set the type to Integer (autoinc) it defaults to a width of 4. Then I tell it to index it accending.    This works but on all the existing records it sets the field to 0. If I add a new record it does increment. My programmer added these fields to some other tables and they added a number and incremented it to all the existing records. What do I need to do to add the number to ex ...Show All

  • Visual Basic Transaction locking locks whole table!

    Hi, I'm having a problem with transaction locking.  I need to BeginTransaction, read each line from a file and insert it to a table, then either Rollback or Commit the txn if all the inserts work.  This is how I'm declaring the BeginTransaction... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xConn = New SqlConnection("server=XXX;database=XXX;user id=xxx;password=xxx") xConn.Open() xConn.BeginTransaction(IsolationLevel.ReadCommitted) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Then I read each line from a file, create a SQL INSERT statement, execute it and read the next line.  The INSERT command looks like this, note the "WITH (RowL ...Show All

  • Visual Basic Having problems with a simple timer event.

    This seems like it is a little overcomplicated for what I'm trying to do. I did it in VB6 without issue, but 2005 is causing problems with threads and what-not. Imports System Imports System.Data.Odbc Imports System.Timers Public Class Form1     Public Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load         status_form.Show()         Dim timer As New System.Timers.Timer         AddHandler timer.Elapsed, AddressOf updatetime       & ...Show All

  • SQL Server Problems Setting DTS Global Variables after Rebuild

    We have performed a dummy Disaster Recovery rebuild of our Windows 2000 Advanced Server(SP2) and SQL2000 database so that we all knew what to do in the event of the failure.  Everything seems to have worked OK apart from one DTS Upload task. The system uses 3 DTS packages to perform data uploads, but only one fails These are all launched from VB executables which load the relevant DTS package and then executes them. It seems that the global variables assigned in the VB executable are not being picked up or actioned within the DTS scripts. Instead the default values that are stored within the DTS package are used instead.  I ha ...Show All

  • Visual Studio Team System Opening WI Attachments Requires Username/Password

    When attempting to open a work item attachment, we get prompted for credentials each time. Is this expected or something not set correctly Is there some permissions setting that will prevent this All the users involved are in the project's contributors group in VSTF, in the contributors group of the sharepoint portal, and are browsers of the reporting services. Hi What is the OS where the client is installed Is the Internet Explorer Enhanced Security installed If yes, uninstall the same and then try Thanks Sagar ...Show All

  • Visual Studio Tools for Office VSTO deployment – light solution.

    Here is a good question to get people thinking Is there an easy way of deploying a VSTO solution without having to install all the prerequisites (just the min comp. and spend 10 min max per pc  ) Imagine the solution needs to be exported to 100 users – it takes time to install all the prerequisites and Office components. So there has to be a way of getting a VSTO solution to run without spending a lot of time at installing all the prerequisites and spending a fortune at getting licenses for Office. Hi Lynnbt , Peter + John   Thanks for the replies and I look forward to the article ...Show All

  • SQL Server How to format a textbox?

    I'm using RS 2003. Have a textbox with a number in it, but somehow the "Format" filed doesn't work or do anything ! I tried "#,#", (#,#), "#,##0", etc. So, how do I set the format on an individual cell Thanks. YOu hjave to do that without quotes or use a named format like n2. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Click-once application doesn't start

    I've having big problems with Click-Once deployment of my application. The application appears to install correctly and adds an entry to the start menu, however it won't run: either from the Start menu or from the web page. The application does seem to work correctly for my colleagues, but not for me (although it used to). I can't see any event log entries, and the application isn't running in task manager. How can I see what is going on I've tried reinstalling .Net 2 framework, but that didn't help :-) Best regards, David Do you see any ClickOnce error dialog If "yes" what does it say in the log I ...Show All

  • Visual Basic ADO.net DataAccess time SLOW

    Unless I am doing something very wrong, it seems that the ADO.net dataaccess time,IE retrieving a record is extremly slow compared to Classic ADO. Now it takes between 1 and 2 seconds to retrieve the data from the Remote database (Access). Because of needing update data when I select a serial number, I presume and currently use direct access to the remote database. I load a combobox with all my serial Numbers, Currently 15,000 . Then when I click on a SN, the program does a query on the ADO.net dataadapter, retrieves the current record. this take almost 2 seconds. Classic was almost instantly. Am I doing something wrong. Here a part of ...Show All

  • Windows Forms Syntax error converting from a character string to uniqueidentifier

    i have a object that is capturing a null field and then when trying to insert im getting an error.. Syntax error converting from a character string to uniqueidentifier..  how can i turn the string into a uniqueidentifier ...Show All

©2008 Software Development Network