Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

Hyland Computer Systems

@Hyland Computer Systems
About
Posts
16
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How do I Change My Signature?
    H Hyland Computer Systems

    Richard: Thanks so much, for the prompt reply.

    "Try?! Try, Not! Do... or DO NOT!!" - Master Yoda "Learn=>Know... Know=>Learn... " - YO, Foo!!

    Article Writing question

  • How do I Change My Signature?
    H Hyland Computer Systems

    Nelek: Thanks for the prompt reply. I found the about you section; but, I still don't see my quirky quotes, i.e. mine says: "Try?! Try, Not! Do... or DO NOT!!" - Master Yoda "Learn=>Know... Know=>Learn... " - Robert Hyland Is that globally configurable? where is that? Thanks in advance

    "Try?! Try, Not! Do... or DO NOT!!" - Master Yoda "Learn=>Know... Know=>Learn... " - Robert Hyland

    Article Writing question

  • How do I Change My Signature?
    H Hyland Computer Systems

    Dear sirs: Please tell me how I can edit my Signature (the quotes that go at the bottom of a message made by me) so that when I comment on Posts, it will be updated to reflect any changes I have made to it... It seems as though I can edit a post with a new Signature; but, it does it for that post only. I would like the changes to be persistent throughout any comments that I make on Posts (globally). Thanks, Robert Hyland President & CEO Hyland Computer Systems

    "Try?! Try, Not! Do... or DO NOT!!" - Master Yoda "Learn=>Know... Know=>Learn... " - Robert Hyland

    Article Writing question

  • Controls Collection
    H Hyland Computer Systems

    Thank you so much, your answer was spot-on! R. H.

    ASP.NET question csharp asp-net learning

  • Controls Collection
    H Hyland Computer Systems

    Dear sirs: I have an ASP.NET Web Form that uses a Master Page. On it, are several Web Controls (i.e. text-boxes, GridViews, etc.) When I use a simple code-snippet like the following: foreach (Control ctl in this.Controls) { Response.Write(ctl.ID); } ... there is one control listed with an ID of "null..." However, I can, of course get the name of any control on the page with "this." How can I iterate through the controls collection of this Web Form? Thanks, R. Hyland

    ASP.NET question csharp asp-net learning

  • SqlDataSource Refresh Problem
    H Hyland Computer Systems

    Fayu wrote:

    1. What is your query? 2. Attach the code you are using

    Here is the code for the SqlDataSource: < <> <> <> <> <> There really is no code for the Selecting Event, other than just capturing some text into a label when the event occurs (for testing purposes). Thanks

    ASP.NET database help question

  • SqlDataSource Refresh Problem
    H Hyland Computer Systems

    Dear sirs: I have a Web Form with an SqlDataSource with a simple select statement, and a GridView control that is tied to it. There is a ComboBox and a Submit button as well. When a selection is made (the first time) in the combo box and then the submit button is clicked, the Selecting Event for the SqlDataSource fires. However, on subsequent "submits" I cannot get the event to fire again. What do I need to do to get this event to fire; thus letting me know that new data is being fetched from the database? Thank you, R. Hyland

    ASP.NET database help question

  • Chart Refresh Problem
    H Hyland Computer Systems

    Michael: Thanks for the quick response. If I understand you correctly, what you are implying that I should do is something like the following. Let's say that a portion of my SelectCommand of the SqlDataSource looks like so (this is Oracle P-SQL): "..... where EXTRACT( MONTH from mh.historydatetime) = :MONTH_ID" Now, the bind-variable comes from the SelectedIndex of the drop down combo box. What you are saying to do, in essence is something like the following: "..... where EXTRACT( MONTH from mh.historydatetime) = :MONTH_ID AND :TIMESTAMP_INFO = :SUBMIT_TIME" That sounds quite difficult. For one: how do I put the timestamp info into a variable? Secondly, what is the logic behind this? As long as a different month is selected from the drop down, it should use the new data, right? Regards, Rob

    ASP.NET question csharp css asp-net database

  • Chart Refresh Problem
    H Hyland Computer Systems

    Dear sirs: I have a simple ASP.NET WebForm; on it are: a combo-box (for months) and a submit button, an SqlDataSource (for chart data), a GridViewControl (interface between sql data source and chart control) and a chart control. When I select a month from the combo box and hit a button, the proper data is displayed in the chart control. However, when I select another month from the combo box the same data is again displayed. I made sure to wipe out the double-array that holds the data by instantiating a new instance of it in the constructor of the class in which it resides. Here's what's interesting: if I click on the browser's "back" button and then the "forward" button; and then hit the "submit" button, the grid displays the proper data for the new month in the drop down combo box. What is happening? What can I do to make sure the data from the sqldatasource/gridview is synched with the filter-select variable in the combo box? Thanks in advance, Rob Hyland

    ASP.NET question csharp css asp-net database

  • Threading Problem
    H Hyland Computer Systems

    Thanks, I finally got it to work per your advice. -- modified at 15:19 Thursday 24th May, 2007

    .NET (Core and Framework) regex learning help announcement

  • Threading Problem
    H Hyland Computer Systems

    Dear sirs: I wrote program that performs one resource-intensive operation. This operation is to convert PDF into a text file. I decided to spin-off this single operation on a threading delegate as shown below: Class Pdf() { public delegate string PdfIsbn(); string ISearch.Isbn( string sFileName ) { m_sFileName = sFileName; PdfIsbn pdfIsbn = new PdfIsbn( GetIsbn ); IAsyncResult iasResult = pdfIsbn.BeginInvoke( new AsyncCallback( IsbnComplete ) , "Isbn is complete" ); /********************************** ******** Regular Processing ******* **********************************/ // It only works if this code is un-commented. while (!iasResult.IsCompleted) { Console.WriteLine("Please wait..."); //return m_sIsbn; } return m_sIsbn; } private void IsbnComplete( IAsyncResult iasResult ) { AsyncResult ar = ( AsyncResult )iasResult; PdfIsbn pdfIsbn = ( PdfIsbn )ar.AsyncDelegate; m_sIsbn = pdfIsbn.EndInvoke( iasResult ); Constant.g_iThreadCount -= 1; } string GetIsbn() { Constant.g_iThreadCount += 1; // Increment thread-counter. Console.WriteLine( "Pdf version of search implemented" ); Thread.Sleep(5000); dtSearch dtSrch = new dtSearch( m_sFileName ); // Pass-in filename only. regEx = new RegEx( "Isbn" ); // Search for a regular expression that fits the "ISBN"-type. SearchIsbn( regEx , dtSrch.ResultText ); return m_sIsbn = regEx.RegExResult; // Get the ISBN. } } The Main program is a windows form with a DataGridView. The main loop cycles through subfolders; each one containing a PDF. do { try { file.GetDirectory(); // gets a book inside a directory, performs search etc. // If a valid ISBN is found it will show up here. if (file.SearchItem != "") { newBooks.AddBook(new Book(true, file.FileName, file.SearchItem)); } } catch (Exception ex) { file.LogError(ex, ex.Message.ToSt

    .NET (Core and Framework) regex learning help announcement

  • Custom Stack
    H Hyland Computer Systems

    I get this error when I try to use implement the IEnumerable interface: Error 1 'generics.GenStack' does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'. 'generics.GenStack.GetEnumerator()' is either static, not public, or has the wrong return type. Here is the code segment: // Custom Stack - designed to accept class instances only public class GenStack: IEnumerable where T : class { private T[] stackCollection; private int count = 0; // Constructor public GenStack(int size) { stackCollection = new T[size]; } public IEnumerator GetEnumerator() { string totList = ""; for (int i = 0; i < count; i++) { yield return stackCollection[i]; totList+= stackCollection[i]+" "; } object ob = totList ; yield return (T)ob; } . . } I am implementing the GetEnumerator(), though. Am I missing something? Thanks in advance

    C# data-structures help question

  • File Security
    H Hyland Computer Systems

    Dear sirs: I am developing a client application that retrieves files from an FTP site. I wish for these files to be secure. The methodology I have chosen to implement security is as follows: The files are initially encrypted on the server. A file is then downloaded to the user's machine and decrypted in an unobvious location, and then dislayed in the client application I have developed for viewing the files. When the user is finished viewing the document (closes it), then the file is re-encrypted. The only drawback to this method is that while the files are opened by the client program (they are mostly adobe pdf files), the security of the files are compromised. Does anyone have a better (and not too difficult) solution? Thank you, Rob Hyland

    .NET (Core and Framework) adobe sysadmin security question

  • Multiple Keyboard Input
    H Hyland Computer Systems

    Dear sirs: I need an application to discern two sources of USB keyboard input from the same machine. What would be the easiest way to accomplish this? Thank you, Rob Hyland

    Visual Basic question

  • Handling Multiple Keyboard Input
    H Hyland Computer Systems

    Dear sirs: I need an application to discern two sources of USB keyboard input from the same machine. What would be the easiest way to accomplish this? Thank you, Rob Hyland

    C / C++ / MFC question

  • Class Member Object Inheritance
    H Hyland Computer Systems

    Dear sirs: I am learning VC++ and am having trouble compiling my project. The project includes several classes that inherit properties from other classes. I ran into just 3 "unresolved external symbol errors - LNK2019". I am using the Visual Studio .NET 2003 platform to develop the application with. I have included the source files with this post and you can recreate the project by creating a new Win32 Console Application project named "use_student", and simply add the files into your project. Any help would be much appreciated! Thank you, Rob Hyland NOTE: if you just see a line of code that says "#include" all by itself it should read "#include (bracket symbol) iostream (bracket symbol)" *************************************************************************************************** *********************************** Header Files ************************************************** // ////////////////////////////////////////////////////////////// // Listing 13.3 studentc.h. / // studentc.h -- defining a Student class using containment / ////////////////////////////////////////////////////////////// // // #ifndef _STUDNTC_H_ #define _STUDNTC_H_ #include #include "arraydb.h" // -- ArrayDB objects. #include "strng2.h" // -- String objects (from Chapter 11). using namespace std; class Student { private: String name; ArrayDb scores; public: Student() : name("Null Student"), scores() {} // -- Use initialization syntax to init. objects. Student(const String & s) : name(s), scores() {} Student(int n) : name("Nully"), scores(n) {} Student(const String & s, int n) : name(s), scores(n) {} Student(const String & s, const ArrayDb & a) : name(s), scores(a) {} Student(const char * str, const double * pd, int n) : name(str), scores(pd, n) {} ~Student() {} double & operator[](int i); const double & operator[](int i) const; double Average() const; // friends friend ostream & operator<<(ostream & os, const Student & stu); friend istream & operator>>(istream & is, Student & stu); }; #endif // ///////////////////////////////////////// // strng1.h -- string class definition / ///////////////////////////////////////// // // #include using namespace std; #ifndef _STRNG1_H_ #define _STRNG1_H_ class String { private: char * str; // pointer to string int len; // length of string public: String(const char * s); // constructor String(); // default constructor String(cons

    C / C++ / MFC csharp c++ visual-studio oop help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups