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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

Rostrox

@Rostrox
About
Posts
29
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Want to show a graphical stopwatch in a Web Page
    R Rostrox

    Hi: For an auction process, I am doing an Web application and I need to put an stopwatch in a Web page to synchronously show the seconds, minutes and hours decreasing from an established time hh:mm:ss to 00:00:00. What is the best alternative taking in account that I have VS2005 as the tool to develop the application? i.e. to run this stopwatch in the server or the client?, which programming language to use? Thanks for you attention.

    Web Development question sysadmin

  • UTF7, UTF8, ASCII ..... I have problems
    R Rostrox

    Hello Steven: Thanks for your attention. The input file was generated using notepad and I do not know the encoding used. Where can I check that? in my W2K parameters? I live in Bolivia, South America, where Ñ, ñ, á ... etc. are very common. I am very concerned about this problem because, I made many, many programs that read .txt information to load to a database and I fear that many of this spanish characters were lost. My God ... I never imagine this kind of problem. My head (and my ass) are involved!! What do you think I can do? Best regards

    C# csharp help question

  • UTF7, UTF8, ASCII ..... I have problems
    R Rostrox

    Hello: I have the next C# code: r = new StreamReader("300_46C_UST04.txt", System.Text.Encoding.UTF7) l = r.ReadLine() The input file has the next data: 123+ABC3210_áéíóúñÑ\/ÁÉÍ-- After reading the record, variable "l" has: 123?_áéíóúñÑ\/ÁÉÍ-- It ignored the +ABC3210!! UTF is the best option for special characters such as Ñ, ñ, etc., but when the string has the character "+" .... it is terrible. What Am I doing bad? I tried all the possibilities (with unicode, ascii, UTF8) but I have different results. When I delete the second parameter, i.e. System.Text.Encoding.UTF7, I obtain the next result: 123+ABC3210_\/-- (special characters where ignored!!) Really, I do not understand. Please .... a help?

    C# csharp help question

  • Finding and repeating a character
    R Rostrox

    Hi: Trying to know more about C# and its libraries ... Without using explicit iterations, how could I: 1) Determine if a character is in a list of characters? For example if I want to know if the content of variable v is in a list containg 'a','j','1','%'. I normally do: if (v[i] == 'a' || v[i] == 'j' ..... but it is too long if I use with many characters in the list. I would like something like (if a[i] in ('a','j','1','%')) for example. 2) For writing the character ',' 600 times I would like to do this: write(600(',')), for example and not use for statement. Seems to be disheveled but :rolleyes:.... May there may be alternatives. Best regards

    C# csharp tutorial question

  • Open Visual Studio?
    R Rostrox

    Hi: A friend of mine said me that que found a WEB site where I can download an IDE that is similar to Visual Studio .Net (obviously not the best). Does anybody knows about this? Best regards

    Visual Studio csharp visual-studio question

  • Information about Excel 9.0 Obj.Library
    R Rostrox

    I am working in a C# program that creates an Excel application. To allow C# use the functionality of Excel, I generated the next: tlbimp Excel9.olb Excel.dll From Visual Studio, now I can browse all the objects associated with this library. But sometimes, I work with a simple editor on another little computer which does not have IDE. My question is: How Can I print o save all the object information about Excell.dll for using as a reference in my programming task? Or ... is there any site where I can see all the documentation related to Excel objects library? Very best regards!!

    C# question csharp visual-studio

  • Explanation about Properties
    R Rostrox

    Hello: Is there any web site where I can find a very good explanation about the use of properties and mainly the justification of this in Database fields or (web)Forms fields ? Many thanks!!!

    C# database question

  • How to simulate map c++ collection in c#
    R Rostrox

    Heath: Many thanks for your answer. The real problem is with the structure: struct stTot { string strDesc; double fTots[cols]; } myTot; I cannot replicate this in C#. I tried many alternatives but I do not really know how to use it (the structure) during the Hashtable loading and recovery of data. A non elegant solution is to join every field that is in the mentioned structure into an string variable and then split them during recovery. Best regards

    C# csharp c++ tutorial

  • How to simulate map c++ collection in c#
    R Rostrox

    Hello: Look at the next C++ code: 1) Defining map const int cols=15; struct stTot { string strDesc; double fTots[cols]; } myTot; map mpLis; map::iterator it; 2) Loading map int iCnt = 0; myTot.strDesc = (LPCTSTR)some_string; for (int v=0; j

    C# csharp c++ tutorial

  • How to simulate map c++ collection in c#
    R Rostrox

    Look at the next C++ code: 1) Defining map const int cols=15; struct stTot { string strDesc; double fTots[cols]; } myTot; map mpLis; map::iterator it; 2) Loading map int iCnt = 0; myTot.strDesc = (LPCTSTR)some_string; for (int v=0; j

    C# csharp c++ tutorial

  • Readline() ignores some characters
    R Rostrox

    I made: StreamReader inp = new StreamReader(@"c:\inp.txt",System.Text.Encoding.UTF7); Tx1.Text = inp.ReadLine(); Inp.Close(); and it worked. Thanks. However, it is the firts time I experienced this kind of problem. I live in South America. Now, ¿should I change all my thousands of programs to include this encoding parameter? or is this possible to change it any kind of global parameter? Thanks for your help

    C# question

  • Readline() ignores some characters
    R Rostrox

    I have the next code: . . StreamReader inp = new StreamReader(@"c:\inp.txt"); Tx1.Text = inp.ReadLine(); inp.Close(); . . inp.txt contains "¡¡¿¿Test??!!" and after reading line, Tx1 has = "Test??!!" The ¡ and ¿ were ignored!! The same thing occurs with ñ, á, etc. What is happenning? Best regards

    C# question

  • Selecting many files to upload
    R Rostrox

    Hi: Under Windows 2k, when using INPUT TYPE=”file” ..., is this possible to select more than one file at a time to upload their contents to the server? i.e. selecting files using using SHIFT-UP arrow or CTRL-click If yes, how could I do this? Actually I can only select one file at a time. Thanks for you attention and help.

    Web Development sysadmin help question

  • Control for FileDialog
    R Rostrox

    Using WEB forms I would like to introduce the control that generates the "INPUT TYPE=”file”...", wich let me to see a FileDialog to upload local data to the server. However I do not find this control in the HTML toolbox. Does it mean I should introduce this control manually? i.e. not using the design WEB Forms?? Best regards

    Web Development html asp-net design sysadmin question

  • File Dialog in Web Forms ??
    R Rostrox

    I developed a WEB Forms page using C#. One of the bottons in the page says: Select File. When clicking this, I need to show a File Dialog showing files of client machine, once selected the file the program will open it and read data line by line. For File Dialog, I need the "using System.Windows.Forms;" but as I am using WEB forms, program does not allow me to include ....Windows.Forms. How can I solve this problem? Is there an special File Dialog in Web Forms?? best regards

    C# question csharp asp-net help

  • FileDialog in WEB forms application
    R Rostrox

    I have a WEB form associated to a C#. One of my issues is to show a file Dialog for choosing a file and process it. How can I get this using a Web Development? In Windows forms it is clear.

    C# question csharp asp-net winforms

  • Loading data to string variable
    R Rostrox

    I am trying to load data to an string variable in the next way: . . . string s = ""; string text = ""; do { If ( text have some conditions) s = s + text + "\n"; text = reader.ReadLine( ); } while (text != null); . . Then I need to show string "s" to user using a multiline textbox created with Web Forms. The problem is that the previous loop lasts many, many minutes. It tries to load 2MB but in a slow manner, I imagine that the memory allocation is the problem. I need textbox for copy/paste purposes. Is there anyway to enhance the speed of s = s + text + "\n"; ??? Best regards.

    C# performance asp-net help question

  • Did anybody tried the "Caché DATABASE"
    R Rostrox

    I am looking for a practical, robust, little, revolutionary and fast database. Some articles say that Caché will be a serious alternative in the future but I have some doubts if I see that there are strong competitors such as Oracle, DB2, SQL server, etc. What is your opinion?

    IT & Infrastructure database com beta-testing question announcement

  • Did anybody tried the "Caché DATABASE"
    R Rostrox

    How can I find this? Is there a Windows version? Which is the difference in relation to Caché Database?

    IT & Infrastructure database com beta-testing question announcement

  • Did anybody tried the "Caché DATABASE"
    R Rostrox

    I downloaded a beta version of the referenced object-oriented Database and it seemed very interesting for me and, lovely also. The site is: http://cache.intersys.com/ Does anybody know this software and has comments? Thanks!!!

    IT & Infrastructure database com beta-testing question announcement
  • Login

  • Don't have an account? Register

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