ryuslash 22 Junior Poster in Training

I guess you could put your my.domain.com in your /etc/hosts file, but that would only work on the computers where you put this. Not from anywhere else.

ryuslash 22 Junior Poster in Training

I'd say keeping the books and images in seperate tables then so that you're not limited to the amount of columns you define.

ryuslash 22 Junior Poster in Training

Thought so

ryuslash 22 Junior Poster in Training

It's not possible that you don't actually have Winamp in Program Files? You said that you tested with C:\Winamp\Winamp.exe which worked?

ryuslash 22 Junior Poster in Training

Maybe

os.system("\"C:\Program Files\Winamp\Winamp.exe\"")

might be silly, but who knows...

ryuslash 22 Junior Poster in Training

Hi All,

import os
os.system("C:\Program Files\Winamp\Winamp.exe")
>>'C:\Program' is not recognized as an internal or external command.

Anybody has the solution. It must be simple but I am not able to get it :(

Shouldn't you be doing it like

import os
os.system("C:\\Program\ Files\\Winamp\\Winamp.exe")

?

ryuslash 22 Junior Poster in Training
error C2679: binary '=' : no operator found which takes a right-hand operand of type 'std::basic_istream<_Elem,_Traits>' (or there is no acceptable conversion)

on that line i have recName = getline(myFile,open);

thnx for the help once again :)

That is probably because (for as far as I know) getline returns a reference to an istream object. The 2nd argument should be the string you want to put your line in, like

string recName, recPass
      fstream myFile;
      myFile.open("C:\\loginfo");
      getline(myFile, recName);
      getline(myFile, recPass);
      myFile.close();
evilguyme commented: thnx for ur help :D +1
ryuslash 22 Junior Poster in Training

The ASP.Net Ajax tools have a <asp:Scriptmanager> tag.
If, however, you're not actually using this webservice for AJAX purposes but to call one website's functionality from another website then I imagine you will have to create a web reference and then probably the same thing applies as with a windows application.

ryuslash 22 Junior Poster in Training

If you call a function in form2 from form1 then you can pass parameters

Otherwise I have used the Program class which is automatically generated by Visual Studio when you create a windows application. Everything in there is usually public static and then you can pass the variable to program from form 1 before form 2 executes it's function and then in form 2's function you get this variable from Program again. Or something similar of course...

ryuslash 22 Junior Poster in Training

Can the Console class even be used in web services?

You can return any object of array of objects (except for certain objects that implement certain interfaces, like IDictionary) from a web service.

If you're using it in a windows application then the web reference you create to connect with the service, this reference generates the objects used for input parameters and return values if they don't already exist (no need to generate a string class for example).

If you're using it for an ASP.Net service then the same thing applies, but these classes are generated in javascript, all you have to do then is have a scriptmanager that correctly references your service and you're set to go.

ryuslash 22 Junior Poster in Training

Um... Build your (non-installer) project and copy the contents of your {projectfolder}\bin\Release (or \Debug) folder?

Otherwise, there was a way to set .zip file as the favored distribution method. Don't remember how it works though :-/

ryuslash 22 Junior Poster in Training

No problem, man, glad I could help :)

ryuslash 22 Junior Poster in Training

Yes but places always gives nice names to your disks. If you open it from places and look at your location (text-based, not button), then you will see where it is really located. Most likely it is located in /media/ under the name 'disk'.

ryuslash 22 Junior Poster in Training

nothing it seems, your problem doesn't seem to be syntax related... except the /31\ GB\ Media/Test/FolderWithFiles/ which unless this is just your example and not your actual usage or you have actually mounted it there, won't exist :-/

ryuslash 22 Junior Poster in Training

Look in your /media/ folder
after you mount your disk, usually there is a folder created there (often just called disk) and everything on your C: drive will be there.

ryuslash 22 Junior Poster in Training

try

until [ $(echo "$myVar" | grep -e '^[a-zA-Z]*$') ]
  do
    read - p "Enter some text" myVar
  done
Roybut commented: Thank you +1
ryuslash 22 Junior Poster in Training

Have you tried looking at the autocompletesource, autocompletecustomsource and autocompletemode properties from the TextBox (as of .Net 2.0 I think?)

ryuslash 22 Junior Poster in Training

Ok I have been looking at this regexp for a few minutes now and I don't know a lot about regular expressions, but here's what I think you might want to try:

string regex = @"^data source=(.*\\)([A-Za-z0-9\-]+\.[A-Za-z0-9]+);.*$";

You've got a ^ in your first group, which either says that you want the middle of the string to be at the beginning of the string or that you don't want there to be a .*\\ after data source= and I don't see a ; anywhere in your expression, so since you're looking for just alphanumeric characters after the . (of .ext) up to the end of the string, you won't find it.

you could still leave out the .*$ at the end, since saying that this doesn't have to be found near the end is the same as saying any number of anything up to the end as of here

ryuslash 22 Junior Poster in Training

The way I tested it it works fine if you don't use a label but a HiddenField

ryuslash 22 Junior Poster in Training

I think I would try

<asp:Image ID="Image2" runat="server" 
         ImageUrl='~\\Images\\thumbnail\\<%# Eval("brand") + "\\" + Eval("thumbnail")%>' />

, or something in that nature...