|
hi ,
i cannot find The arabic breaker.
regards,
Elie
dghdfghdfghdfghdgh
|
|
|
|
|
|
Do you think you could go round and help them install this on their 'puter too Christion. Thanks a million.
|
|
|
|
|
|
When I open http://www.google.co.in/ in internet Explorer, the result should be same as about:blank opened in Internet Explorer, How can I do this in c#?
I mean the IE window's body should be completely empty even though the URL is http://www.google.co.in/, similarly if I open somelink like http://www.google.co.in/abcd.pdf , IE window's body should be completely empty. How can I do this?
|
|
|
|
|
You want to write a system wide virus that stops IE from opening certain pages ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Hi friends,
I have created a toolbar for IE but the problem is this that when i run this setup on different machine it is not visible by itself.I have to turn on it by clicking on tool bar.
So my question is this that is there any property so that at the time of installation of this tool bar it make an entry in registry so it will come automatically.
Thanks,
Vishal Gupta
|
|
|
|
|
Hi guys,
I wrote this:
string cmd = "select fid,fval from x";
OdbcDataAdapter da=new OdbcDataAdapter(cmd,this.odbcConnection1);
int i = da.TableMappings.Count;
and I found da.TableMappings.Count was always zero.
I don't want to use da.TableMappings.Add() function to add table mapping and columns mapping.
Are there any functions in ADO.NET that can generate the mapping info base on a odbcDataAdapter instance?
Anything you can help it would be appreciated.
|
|
|
|
|
I want to program a web spider to search the resource from web by a URL?
How to judge the resource, such as JPG, mp3?
|
|
|
|
|
Fired.Fish.Gmail wrote: I want to program a web spider
Do a little basic research and you will find an article here on CP that may help you clickety[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I downlaod the aspseek, but I find it is too big and donot know where is the rearch function. I only want to know how to search the resource from a url
|
|
|
|
|
I am using AT Command "AT+CNMI=2,3,2,1,0" to
There is a event handler named 'DataReceived' of SerialPort object. But I don't know what will be the parameter and how to handle the parameter to receive the message.
Could you please send a sample 'DataReceived' function?
|
|
|
|
|
You want to recieve an SMS message from where ? How is your phone connected to a mobile phone number, is it attached to a phone ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
My mobile is connected to my PC by a data cable. I want to get mobile incoming message to my PC.I just want an example of DataReceived event handler of SerialPort object.
|
|
|
|
|
Are you sure this will fire when you get an SMS message ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|
i have a black and white image, i need to quickly scan the entire image for white (255,255,255 RGB) pixels and add then to an array. I have a for loop in a for loop to do this as follows:
<pre
private void trackLane()
{
Bitmap leftLane = new Bitmap(detectLeft.Image);
Bitmap rightLane = new Bitmap(detectRight.Image);
for (int i = 0; i <= detectLeft.Width; i++)
{
for (int j = 0; j <= detectLeft.Height; j++)
{
leftLane.GetPixel(i, j);
rightLane.GetPixel(i, j);
}
}
}
></pre>
Where j is the y axis and i is the x axis, i think there is a more efficient way of doing this, any suggestions?
|
|
|
|
|
Hi,
here are some ideas:
1. j <= detectLeft.Height gets executed for every pixel, you'd better store detectLeft.Height in a local int variable
2. executing a lot of GetPixel() calls tends to be slow since each time the coordinates are checked against the image boundaries, and translated into a linear index, something that can be done more easily once one knows they all get handled sequentially
3. the most practical approach to (2) is by using pointers
4. why do you use 4 bytes per pixel if all it can be is black and white; an array (bools, bytes, ints, ...) or a BitArray would be more economical in space, and hence in speed (assuming your image is say 512*512, it takes 1MB which is about the size of the level 2 cache); less data would run faster.
Maybe you should swith to one byte per pixel (optimum between density and simplicity)
5. there are special code snippets to find the lowest bit set in an integer, this could be much faster assuming a binary image (yours is), and a majority of zeroes.
x & -x results in zero if x is zero, and in an int with exactly one bit set which is also set in x otherwise.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Thanks, I'll keep working on it. : )
|
|
|
|
|
|
I'm hoping that someone could give me some advice on how to code a data-grid so that the first row added appears at the bottom, and each additional row fills in above the previous!
In the program I am building, the data-grid starts out empty, and then the user adds information over the course of the session - the first piece of information he adds needs to be on the bottom, and then the second on top of the first, etc.
Any advice appreciated !
Dave
|
|
|
|
|
I've got one of those fancy rotating screens, so all I do is rotate it 180 deg, mind you it's tough on the neck
Sorry, could not resist.
There are a number of solutions, depending on your data source. If you are manually creating the rows then there should be a DGV.Row.Insert(index) obviously 0
If your data is set based (datatable or list) then you need to insert it into the appropriate postion in the supporting datasource.
Either way you are going to have to manage the DGV manually rahter than changing a setting or two!.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hmmm. I tried the command you recommended, and Visual Studio rejected the syntax. Any idea what I could be doing wrong?
I created a DataGridView object on the form and called it DG1.
I created a button. For the onclick event in the button, I went to type the command DG1.Row.Insert(0) and it rejected the syntax.
Dave
|
|
|
|
|
So I was typing from memory, did you take a look around to get the correct syntax. I will feed you ideas, you have to do the work. I have no interest in providing code, thats what articles are for.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I did scroll through all of the possible commands for the object, and none of them seemed relevant.
|
|
|
|