Hi.
Thanks for your answer. I have also thought of it,but that is the thing I would not like to do. I would rather use hook or some ChangeNotification method.
best regards,
Kirilla
Hi.
I've made a very simple application, which is enum installed printers using EnumPrinters API. But, I have no idea, how can I catch the Add and Delete printer events.
I would like to reenumerate printers, if somebody adds or removes a printer.
best regards,
Kirilla
Hi,
Thank you. There was problem with other part of my code. I've tried your sample in a new simple console project and it was working. I had to modify the <string> header file and there is no extra line.
see details at MSDN:
BUG: getline Template Function Reads Extra Character
Q240015
best...
Hi,
Thanks for your answer. I know the usage of getline, but I don't know, why it doesn't work.
I've try to explain what is the problem. See the following code:
...
string s1, s2;
cout << "Enter a sentence"<<endl;
getline(cin,s1,'\n');
getline(cin,s2,'\n');
cout << "You...
Hi,
I've problem with the Standard Library's getline function.
As I know, it requires 3 params:
1. an input stream
2. a string objet
3. a const char
...
std::getline( cin, mystring, '\n');
...
I t doesn't work at me. When I run my code and I debug this line, after I stepped over mystring...
Hi.
Here is a part of my code, I hope it helps:
...
var xmlHTTP=new ActiveXObject("MSXML2.ServerXMLHTTP");
xmlHTTP.open("GET","http://www.myserver.con/my.xml",false);
xmlHTTP.send();
while(xmlHTTP.readyState!=4)
{}
var xmlDoc=new...
Hi.
The problem is starting after the first Y cycle.
When X = 1 and Y = 999
then there is 999\0 is in the store buffer and
999EEEE999 in the reverse buffer.
Because EEEE is not a number atoi translate only the number part of reverse or until \0 (NULL CHAR)
The n ext step
X = 2 and Y =1 then...
Hi.
I've made a simple labyrinth. One labyrinth unit consist of 6 triangles ( 3 square - floor and 2 walls ). Now I can walk along on it, but I can walk through the walls.
I've made an collosion detection algorithm, but I think it is not so good. (it doesn't like me) I've stored the floors...
Hi.
I've a DLL, what I want to implement to my application. I'd like to pass user defined structures and get it back. As I know, Automation doesn't support it only the MIDL base types. I did it, but I don't know how safe it is.
I made a simple struct to test it:
typdef struct MyStruct
{...
Hi.
Thanks for your help. I think I found ths solution for my problem. I should work rather Containers and PlaceHolders in .NET aspx instead of Frameset.
best regards,
Kirilla
Hi.
I have problems with setting values of objects through FRAMES. I'd like to know is there any easy way to do this. I have 2 aspx page(2 frames) in a third html page. I put a button on one of the aspx page and when it is clicked I'd like to write some text to a Label which is on the other...
Hi.
here is a JavaScript source:
..
var conn=Server.CreateObject("ADODB.Connection");
var comm=Server.CreateObject("ADODB.Command");
var rs=Server.CreateObject("ADODB.Recordset");
addSQL="getProperties"; ...
Hi.
I've a complicated question. I've table on my HTML page. This table come from XML and contains numbers. I've an input text box too. I'd like to paint to red that numbers in the table which are lower than the number I write in the text box(there is a button and when I push it something cheks...
Hi dianal.
I also found the answer for my question. Thanks a lot for your answer. It was really helpfull. The WD-xsl namespace is supported by IE but the W3C recommendetion is XSL/Transform.
best regards, Kirilla
Hi dianal.
Thanks a lot for your answer. I know, there are other ways to solve this problem, but I'd like to learn some of these.
I've read the w3school's tutorial and I saw this solution, but it didn't work:
<xsl:element name="{@id}">
As I know, brace is used to variables and param...
Hi.
Could anybody help? I don't know, what XPath I should use to get the value of a node. Here are my XML and XSL source:
Contacts.xml
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="alldata.xsl"?>
<contacts>
<contact id="b">...
Hi.
Sorry. I was wrong. As I saw, when I used fullscreen property it always put the vertical scrollbar to the screen. When I set the height and width params to the height and width of the screen and didn't use fullscreen property all of the scrollbars had been disappeared.
I'm looking for this...
Hi.
I've tried this and I worked. The scrollbars were disappeared. You shouldn't specify the width and height properties, give only the fullscreen param:
<a href="#" onClick="launchwin('newbord.htm','main','fullscreen=1'">
regards, Kirilla
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.