|
hello d@nish
thanks for u r reply
i did like this BUT>>>>>>>>>>>
i created an array for storing the messages for showing in tool tip.
then on the textBox event txt_Textchanged
i wrote.. the code
toolTip1.SetToolTip(textFunctionget, TooltipshowNI[i]);
toolTip1.ShowAlways = true;
here textFunctionget is the textbox
and TooltipshowNI[i] is the array
this is working but problem is if i change the mouse pointer from above the textBox the tooltip is not show
Can u help ??/
Why this occurs.. if the pointer is above the textbox then tooltip is show always when i type inside the textBox .. but ,,,
plz help
Thanks
Tony
|
|
|
|
|
I guess you must be using ToolTip.Show method. What have you specified as IWin32Window?
Loading signature. Please wait...
|
|
|
|
|
hello D@nish
i wrote.. the code
toolTip1.SetToolTip(textFunctionget, TooltipshowNI[i]);
toolTip1.ShowAlways = true;
here textFunctionget is the textbox
and TooltipshowNI[i] is the array
IWin32Window?????
i found only this.....
tooltip1.SetToolTip(Control contol,String Caption)
Cotrol is the name of the textBox,,,, and caption the message from the array TooltipshowNI[i]
Thanks
Tony
|
|
|
|
|
I guess I misunderstood your problem. I am using only this line of code in TextChanged event and this works fine for me.
oToolTip.Show("hi", this.txtSample, this.txtSample.Right, this.txtSample.Bottom,1000);
Loading signature. Please wait...
|
|
|
|
|
hello d@nish
Thanks a lot for u r answer
still one more pblm...
how to make the tool tip position more closer to the textbox.....
Now the tool tip is show at the bottom corner... i want it to be almost near to the text box
Thanks a lot
Tony
|
|
|
|
|
hi all.
I want to create a Web Analytics project in C#
is this possible in C#? must I do it from the server side or can I do also from the client side? where can I find good examples on how to start?
are there any drawbacks to do it in C#(compatibility issues) ?
modified on Thursday, November 27, 2008 3:24 AM
|
|
|
|
|
Classically web analytics services work by including a small snippet of JavaScript on every page. The JavaScript sends a message to the analytics server every time the page is visited. The JavaScript will gather the specific data about the client that is connecting, and send it to the analytics server.
The server can then count the number of visits, and calculate the trends etc.
There's no reason why you can't write the server part in C#, you just need to expose the server endpoints in some way. (WCF/WebServices/etc)
There are a few open source projects around that you could look at.
http://piwik.org/[^]
http://www.openwebanalytics.com/[^]
(This isn't a small project. If your new to C#, you might want to pick something simpler to start with and come back to this when you have a bit more experience)
Good luck.
Simon
|
|
|
|
|
thanks Simon for your help.
I am new to C#, but I hope I will not run to too many problems(google is going to be my best friend for that )
I saw here in the forum that there is another way to do it.
you can do it by building an add-in to the browser ( should work only on explorer)
what do you think about that way?
is it more diffuclt in your opinion?
in both ways I need to use Windows Hooks to capture the user events?
p.s
I want my project to be generic. are both ways good for that?
|
|
|
|
|
It depends on what you want to use it for, but I would suggest that a browser addin isn't going to capture very good data for you.
I doubt many users are going to be prepared to install browser addins to allow a website to track their usage. I certainly wouldn't. And like you said, it will only work for IE. (It might work in a company environment where you have control over the users PC). Also, I don't think you can write IE addins in C# (although I could be wrong about this)
Traditional web analtics packages track things like time spent on site, pages visited, so you wouldn't need to use windows hooks to track this kind of thing. Are you talking about a different kind of anaylitcs?
Simon
|
|
|
|
|
the point of the project is learning C#, so I dont mind if useres will have to install it on their computers.
I want to track a lot of things. mouse clicks, which controls are there in the page, mouse speed, the percentage of time the mouse was over text, the speed a user typed inside text fields....these are just few of them
maybe I can't write addin with C#(I still need to check it out), it was just a thought
|
|
|
|
|
Ahh, right, I see what you are trying to do.
Yes, this is going to be a more client side thing rather than a traditional style "web analytics".
Simon
|
|
|
|
|
so you are saying that addin is a better way?
|
|
|
|
|
It's a way. It'll do.
Simon
|
|
|
|
|
ok, thanks for your help
now I just need to find out how to create addin using C#
|
|
|
|
|
Hello everyone,
I am trying to find ways to draw a run time changeable string over a DirectX 8 game. I tried almost everything search engines could provide me with, and i came up only with the "proxy" solution. Since i am familiar only with C#, and C++ is not an option it is very difficult for me to build the expected .dll. I am wondering if you know other possibility of rendering this text over the directx game. The most annoying problems i found were:
1. The directX app is fullscreen.
2. The app is using directx 8 . Barely finding resources.
3. I need to have my application to control when to draw, when to stop, what to draw over the DirectX.
4. I need to use C#.
If i used wrong terms like "drawing over" i am sorry, but i'm not too familiar with the Drawing part of coding.
Thank you very much.
|
|
|
|
|
Try the graphics forum dude
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.Passion != Programming & you.Occupation == jobTitles.Programmer)
1000100 1101111 1100101 1110011 100000 1110100 1101000 1101001 1110011 100000 1101101 1100101 1100001 1101110 100000 1101001 1101101 100000 1100001 100000 1100111 1100101 1100101 1101011 111111
|
|
|
|
|
If you didn't write the game, I suspect you're dreaming. If there's a supported way that requires a C++ dll, then you'll need to write it in C++.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Actually i have seen it done in several applications and even with more complex drawings (images, transparency etc). I can live with using a c++ dll and importing its functions in c# but i need a dll with exposed (and if possible explained) functions.... I only found code for directx 9 proxies, but my recent searches led to me to believe that this is possible by using somehow GDI/GDI+.
Thank you for your prompt answers.
|
|
|
|
|
i need to create custom reort 4 customers
mean client specific paper type & size
labels & fields in report user specififc it's size font color .......
md_refay
|
|
|
|
|
I hope your question is about C# 'cause other then that your post goes against about every rule of the forum.
Please edit your post to be:
-> in full sentences and without typing errors (no sms language).
-> clear and specific
--1-> I have to do something in this context (that you did)
--2-> I'm having a specific problem here: eg I'm using word templated, but I'm stuck there, Crystal Reports does not pass my parameter or even why not: I'm not sure where to start, can you give me advice.
-> I did a, b, c as a solution and searched here and there, but...
then you'll find people more reactive towards what you're trying to accomplish.
good luck.
|
|
|
|
|
OK - have fun. Did you have a question ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hey Everybody,
I'm havin' a bit of trouble trying to solve a problem here and I've googled for quite a while now and I am tryng to search files on my computer for any URL and get thos URL's into a string... The URL could be anywhere inside the file and I keep getting 1 error when I TRY to debug:
Error 1 The name 'word' does not exist in the current context
Here's the code that I have:
private void SearchButton_Click(object sender, EventArgs e)
{
string FilePath = "C:\\Users\\Jase\\Documents\\dumpFile.txt";
StreamReader ReadFile = new StreamReader(FilePath);
string ReadAll = ReadFile.ReadToEnd();
ReadFile.Close();
string regMatch = "ht|f" + "tp://" <word> ".com" | ".net" | ".org";
if (Regex.IsMatch(ReadAll, regMatch))
{
StatusLabel.Text = (regMatch + " was found.");
}
else
{
StatusLabel.Text = (regMatch + " was not found.");
}
}
j.t.
|
|
|
|
|
plz see if this is added the namespace....
using System.Text.RegularExpressions;
Thanks
tony
|
|
|
|
|
thanks tony,
i did originally add:
using System.Text.RegularExpressions;
I dunno what to do... None of the code I've found on Google so far works either.
j.t.
|
|
|
|
|
jay_t55 wrote: string regMatch = "ht|f" + "tp://" <word> ".com" | ".net" | ".org";
I am not sure what are trying to do here.
As far as your requirement is concerned, I would have used following code:
Regex reg = new Regex(regMatch);
Match oMatch = reg.Match(ReadAll);
Google will easily provide you a regular expression(regMatch) to find a URL in text.
Loading signature. Please wait...
|
|
|
|