|
Hi,
I am looking for a way to insert text into a TextBox at the current position, as I am trying to make an site to create web pages with Google stuff (like Maps, Search).
I know that you can do
TextBox1.Text.Insert(1, New IO.StreamReader("Maps.txt").ReadToEnd) , but I need to replace 1 with the current cursor position in the TextBox.
It is being written in VB, but I can do a little bit of C#.
Thanks
|
|
|
|
|
hi guys i was just wondering if vb.net can use the standard provider feature of asp.net(the one taht allow user to login logout, rolemanagement)
and how
thx
|
|
|
|
|
Are you asking if you can use the default providers in windows application ?
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
|
This is bit tricky, Need to look at it. In the mean time if you come across the solution let me know !!
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
no problem will do more research about it
|
|
|
|
|
Hi,
I have a doubt on uploading some files to the server, here's my codes
Dim fn As String = System.IO.Path.GetFileName(Me.flPrintScreen.PostedFile.FileName)
Dim SaveLocation As String = "\\\\10.xx.xx.xx\\MyFolder\\" & fn
If Not fn = "" Then
Me.flPrintScreen.PostedFile.SaveAs(SaveLocation)
End If
It works well on my development machine which the file is being uploaded to the server. But I wonder when I put it up on the Internet, whether the way I am using now is workable since this seems like mapping the drive locally.
Thanks.
J Liang
|
|
|
|
|
First and foremost check permission for the IUSER needs to be set properly for the shared drive !!! Let me know in case if you get some error !!
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Hi Jaiprakash,
So as long as the permission is given, the code should work when I upload it to the server to be access by the user?
J Liang
|
|
|
|
|
Can you past the exact error message?
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
Hi Jaiprakash,
Actually there is no error message though, it works fine, the files are being uploaded accordingly, my concern is whether this would happen the same way when I uploaded my web pages to the server.
J Liang
|
|
|
|
|
Yes Liang, It will happen in that case !!!
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
your code seems correct.
May be you need map saving path using Server.MapPath(SaveLocation)
|
|
|
|
|
Hi Naveed,
I came across the Server.MapPath too, so from what you say, the code should work when I upload it the server to be access by the public?
J Liang
|
|
|
|
|
Well i told you this as i am using this statement and its working with me.
You need check according to your scenario.
|
|
|
|
|
Hi Naveed,
Thanks, I shall explore myself whether it works in my scenario
J Liang
|
|
|
|
|
for finding matched pattern in strings i am using the function Regex.Matches().
the issue is that if i am passing a "pattern" string which have bracket"( )" then it will not return any matches..
for eg:
string strInput = "PaperIndex (India) Private Limited";
string strPattern = "PaperIndex (India) Private";
and if i am passing this value to function it will not return any match.
foreach (Match Mth in Regex.Matches(strInput , strPattern, RegexOptions.IgnoreCase))
{
arrBuyleadName.Add(Mth.Value);
}
if we pass strPattern = "PaperIndex";
it is returning the match value as paperindex
if any body know how to avoid this issue, help me
thanking you,
Jes.
|
|
|
|
|
For me the immediate work around is to replace the ( with something else and try to make a patter with that !!! And then use the Regex.Matches()!!!
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
You need to use the escape character '\'. For example: "PaperIndex \(India\) Private".
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
How to integrate digital cameras with .net?
The input from a camera should be sent to a .net application
Please specify the tool which does this.
Thanks.
din
|
|
|
|
|
Typically it depends on the methods exposed by the camera software !! If there are methods exposed then you can very well use the drivers and access the images from camera if not then find out from provider itself
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
would like to know any tool that supports integration of web applications with digitalcameras,webcam e.t.c
|
|
|
|
|
My feeling is the provider needs to be asked, as it is some times proprietary information !!!
-- modified at 9:58 Saturday 14th April, 2007
Regards,
Jaiprakash M Bankolli
jaiprakash.bankolli@gmail.com
http://jaiprakash.blog.com/
|
|
|
|
|
do a gogoogle search for Windows image Acquisition. There is a library by Microsoft that u can use to acquire images from Digital camera, scanner e.t.c
t.aransiola
|
|
|
|
|
Hia to all,
Here i have a problem that,I am using 3 txtboxes and,in these 3, 1 textbox is readonly(getting value from ddlist),and 1 textbox is editable.And now my requirement is,
i have to get the values from txt1 and txt2 into txt3.That i have to get only on when txt3_gotfocus.Means when i click for editing in the txt3 ,it shd give the values of txt1 and tx2.(assume both numeric and charcters in txt1 and txt2.)
Can anyone give me some idea
I know javascript when both txt's are editable.but how to write one is editable and one is readonly.
Thanks in advance.
kissy
|
|
|
|