Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: abcfantasy
  • Content: Threads
  • Order by date
  1. abcfantasy

    Lookup from 2 Data Sources

    Hi, I'm trying to use the lookup function from 2 datasets that get data from 2 different data sources. The result of the lookup function is just blank, no error or any value. It only worked for me when using it on 2 datasets from the same data source. Is it restricted this way? Below is...
  2. abcfantasy

    Add Data Source Reference from BIDS

    Hi, I have a Report Server Project which I manage using Business Intelligence Studio. Now, on the report server, there is a data source defined and ready to be used. It feels silly, but from my project, I can't seem to be able to browse for a data source on the report server. Everything I try...
  3. abcfantasy

    GUI application for command line program

    Hello, there is this command line application and I need to create a GUI application for it to simplify work and increase efficiency. The way I'm doing it is that the graphical application runs the command line program, sends all input to it and receives all output. While building it however, I...
  4. abcfantasy

    Implementing a Distributed Database

    Hello, I need to implement a distributed database and I have been trying to look up information about this but can't seem to find the right information. All I wish is that someone guides me to articles or books that can help me on this. What I wish is to implement this database (using MS SQL...
  5. abcfantasy

    Code Practice question

    Say there is an xml file (or maybe other kinds of file) that contain general settings about your application (can be anything: text/integers/etc...). Now, you have a method which gets the settings from the file and returns them as one object, what should the object be? Assume that the types of...
  6. abcfantasy

    DataGridView Cell Formatting

    Hello, I've got the following case: I have a DataGridView which is dynamically (during runtime) bounded to a DataTable. What I wish is to format certain columns, but it seems all formatting is being ignored. I have tried: dataGridView.Columns["ColumnName"].DefaultCellStyle.Format = "c" but no...
  7. abcfantasy

    Cross-thread operation error

    I don't know why I'm still getting this error, even after using delegates and the invoke method. This is what I have: A form is first displayed, where you enter some settings like IP and so on. When you click the button 'Join' I have the following code: private void btnJoin_Click( object...
  8. abcfantasy

    Sockets and Messages (and communication with GUI)

    I have a class (named Server) to handle multiple client connections, receive and send messages and so on. What I wish to do is the following: I have a method in that class which is called whenever a message is received from a client. In this method, I want some way to communicate to the Form...
  9. abcfantasy

    Problems with service application

    I've made this application that detects windows shutdown and stops it. I did this using the following procedure: procedure TMyForm.WMQueryEndSession(var Msg: TWMQueryEndSession); begin Msg.Result := 0; end; It worked correctly on a normal application. But as a service application, it does...
  10. abcfantasy

    Updating a database

    I've got this application that uses database, and distribute it to the various users. There are certain tables which each user changes, and other table which only the I can change. If at a certain point I update the database, how do I update each of the user's databases without overwriting the...
  11. abcfantasy

    DirectSound and Stream problems

    Hi, I've got a problem when creating a new DirectSound.Buffer object. Wave files are saved as streams in a resources file and the following works perfectly: soundBuffer = new Microsoft.DirectX.DirectSound.Buffer( Resources.wav1, device ); However, midi files are saved as an array of bytes...
  12. abcfantasy

    SQL Statement case sensitive

    I've got an SQL SELECT statement which uses the WHERE clause and takes two parameters. If for example the parameter is ABC, the Select command also returns those fields that match 'abc' and i don't want this. I've got the following in the statement: WHERE ( field = @value ) How can i make it...
  13. abcfantasy

    Databound Checkboxes

    I've got a few checkboxes databound to a bindingsource. When I create a new record, their checked state changes to indeterminate. How can I change it to make it unchecked or checked by default? I tried to add a piece of code after the Add New button has been clicked, which sets the...
  14. abcfantasy

    Databases, DataGridView and Data bound items

    I guess this is a simple question. I had used databound items in comboboxes to display a value member while storing another value (example displaying names and storing their IDs). Is it possible to do this in one of the columns of a DataGridView? Thanks in advance Andrew ABC - www.abcfantasy.tk
  15. abcfantasy

    AllowNull but still getting NoNullAllowedException

    I just don't understand why. I've got a database table, with a column named 'Postcode' of type varchar(10) and allownull thicked. Now when I add a record and leave the postcode empty, I get a NoNullAllowedException saying "Column 'Postcode' does not allow nulls". I've spent hours now trying...
  16. abcfantasy

    Help using Airport Web Service

    Hello, I'm new to web services and I need to create an Airport Web service using http://www.webservicex.net/WS/WSDetails.aspx?WSID=20&CATID=7 My problem is, when I add the web reference, no data source is added. I had used a weather tracking service for a tutorial, and a data source had been...
  17. abcfantasy

    Ini.ReadString problem

    I've got a string saved in an ini file of about 3500 characters. Then I read that string in a string variable, and it only copies 2047 characters. Any help on this? Thanks Andrew ABC - www.abcfantasy.tk
  18. abcfantasy

    Problem with bitmaps

    Hello, I'm having a problem with bitmaps when passed as parameters. I've got the following procedure in a unit: procedure TMap.CopyArea( pImage: TBitmap; X, Y: integer ); var SourceRect, DestRect: TRect; Map_Image: TBitmap; begin {some code} pImage.Canvas.CopyRect( DestRect...
  19. abcfantasy

    Search Filter

    The following code: FindFirst( Path + '*.mp3', faAnyFile - faDirectory, ... ) will return all mp3 files located in Path. The question is, what do I have to do, if for example, I want to find mp3, wav and wma files? Thanks Andrew ABC - www.abcfantasy.tk
  20. abcfantasy

    Custom Component for browsing files (base: TListBox)

    Hello, I'm creating this custom component derived from TListBox used for file browsing. I use FindFirst and FindNext to get the list of directories and files and add them to the list. The question is, how do I display the contents of My Computer? That is, displaying the logical drives, floppy...

Part and Inventory Search

Back
Top