|
HI to all
I need a source code in any one one the following lanaguge of a program
java, VB, C, C++, VB.net
which objective is to block the web site
like diiferent "Web site blokcer"
a complete source code if any one have please please send me at
mnadeem_2000@ayahoo.com
muhammadnadeem_2002@hotmail.com
Please its URGENT
-- modified at 4:11 Friday 12th May, 2006
|
|
|
|
|
|
Hi guys
I'm implementing an application about MS Office Automation using VB.net.
How will I know that an active worksheet having some data or not in an existed excel file through our coding without specifying any cell range>
if it have some data ( ex: cell range from A1 to L8 ) then how to select the entire data?
let me know, whether we have any way to implement this.
urs
want to be best student for ever.
|
|
|
|
|
hi all,
i want to set sequence at runtime in datagrid. how can i do this. pls help
and give code also
vipin paliwal
|
|
|
|
|
hello all,
I m facing one error in my vb.net application, this error is not reproducable and pops up any time anywhere while this application is running
the error is "could not find any resources appropriate for the specified culture(or the neutral culture) on disk"
Can anybody tell me why this error popsups, and plzz give me solution to fix this error
regards,
Prasanna karandikar
|
|
|
|
|
Maybe the object you are using is destroyed
ICQ:258-235-734
|
|
|
|
|
hi,
but this doesnt happeen on specific form , this error can come up on any form, and this application is migrated from vb6 to vb.net framework 1.1, so what is the solution on this problem.
regards,
prasanna karandikar
|
|
|
|
|
follow up the scent
ICQ:258-235-734
|
|
|
|
|
I have a application which will check some data in database accroding to a timer,
I would like to show a message just like the new email/message alert box in MSN MESSAGER or OUTLOOK 2003.
How can I do that?
Besides that, how can I get the focus to my application when The checking indicate some differnece?
Thank you!
|
|
|
|
|
I have a textbox, how i can handle press "Enter" key event, i wait for help from everyone.
Thanks very much.
|
|
|
|
|
I am a newbie Just try this
Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
If e.KeyCode = Keys.Enter Then
e.Handled = True
End If
End Sub
|
|
|
|
|
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
'event
End If
End Sub
ICQ:258-235-734
|
|
|
|
|
Hi,
I used this:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
If e.KeyChar = Chr(13) Then
'event
End If
End Sub
--> but it didn't work in my application
is there some property of the textbox that must be true or false to use this?
I can hit any other key and it works fine
but when i hit enter he does not go to this procedure
I use VS2005
what could i do, please help?
Thanks
Alwin
|
|
|
|
|
Never mind I solved it myself!
When i put off the Acceptbutton property of the form
it was OK!
Thanks Anyway
A.
|
|
|
|
|
That's Right
ICQ:258-235-734
MSN:msnadair@hotmail.com
|
|
|
|
|
Basically, what I am aiming for is to be able to take the current coordinates of the mouse onscreen and emulate a mouse click at that location by pressing a key on the keyboard.
I'm pretty much lost on locating the mouse and sending a click. Also, this needs to be able to send the click when other windows have the focus, and I don't know how to do that.
I've tried searching for this, but all I get are instructions in C#.
Thanks for taking the time to read this.
|
|
|
|
|
Hello, I am very new to Visual Basic / Visual Studio 2005 Pro and was wondering if anyone would be so kind to help me construct my first program..
I am using Microsofts sample Nwind.mdb database (With Customers and Orders in the data source window).
When I open my form I would like it to show 3 boxes - 1.The Order number box, 2.The Customer box and 3.The Freight box.
When I enter an order number and press enter it will populate the other 2 boxes.
Sorry if you get this questions all the time but the 'help' section is not helping me!!
I'd appreciate any help at all.
Thanks very much
--------------------------------------------------------------------------------
John C
-- modified at 16:56 Thursday 11th May, 2006
|
|
|
|
|
hi john,
populate the other 2 boxes u need to write code to extract data in tow boxes on command button click event , after writting code on command button set the Acceptbutton property of form e.g ( Acceptbutton= cmdClick), so after setting this property when u press enter key it will populate the other 2 boxes.
regards,
prasanna karandikar
prasannak5@hotmail.com
|
|
|
|
|
many thanks for that prasanna,
I have been able to set the Accept button of the form so that when I click enter in the job number box I can make the text in the other box change (I made it change to 'john') but I have absolutely no idea how to extract data from a database.
This was my code for the text change...
---------------------------------------------------------------------------------------------
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
EmployeeIDTextBox.Text = "john"
End Sub
---------------------------------------------------------------------------------------------
Any chance you (or anyone else) could show me how to extract data from the database?
Thanks
John
|
|
|
|
|
I am a newbie....
Pls ignore this is a wrong solution
You need to pass the order number in order to get the Customer and Freight details...
orderNo= comboBox.selectedValue
SQL code could be: select customerName,Freight from the "TableName" where order no='" & orderNo & "' orderBy customerName
|
|
|
|
|
Hello,
I have a small app that reads in a text file line by line. How do I take each line of text and dump it into an Excel Worksheet?
<br />
Do<br />
inputLine = sr.ReadLine<br />
If Not (inputLine Is Nothing) Then<br />
<br />
strColumn1 = inputLine.Substring(38, 28).Trim<br />
strColumn2 = inputLine.Substring(66, 12).Trim<br />
strColumn3 = inputLine.Substring(78, 1).Trim<br />
strColumn4 = inputLine.Substring(79, 4).Trim<br />
strColumn5 = inputLine.Substring(90, 7).Trim<br />
strColumn6 = inputLine.Substring(99, 2).Trim<br />
strColumn7 = inputLine.Substring(102, 2).Trim<br />
strColumn8 = inputLine.Substring(108, 3).Trim<br />
<br />
'here I would like to take the values of my Columns and create a CSV file or write the values of my columns to a blank Excel worksheet...<br />
<br />
End If<br />
Loop While Not (inputLine Is Nothing)<br />
Thanks in advance,
Rashar
|
|
|
|
|
Hi, all:
I've been around VB for a while, but am new to .Net and accessing DLLs. I'm currently working on a project in VB 2005 Express, and am having trouble executing functions contained within a DLL. Part of the problem (I expect) is my inexperience with terminology, as I can't seem to find anything in the help on Google that seems to apply. Here's the scenario:
I have an application that needs to open a CSV file in one format, and write selected fields out to a new file in a new format. There will be many input and output formats (many that I have not yet concieved of) so I thought I would place the reading/writing routines in external files. This way, when a new format comes along, I just have to write a new DLL, and through the configuration files, call that DLL. This way, the core app that handles opening of files, specifying default directories, user interface, etc. does not have to be recompiled each time I come up with a new output format.
I used VB 2005 Express to create a DLL project called iclocalio (thus, iclocalio.dll). Within that file are two functions, GetDataFromLocalFile, which is to be called from the core app, and GetICDataFromString, which is called from the first function. GetDataFromLocalFile returns an array. (BTW, I have already tested the logic by including these functions in my core app - they pull the data as expected, so I have since moved them out to a DLL file where they will hopefully take up permanent residency).
In the core app, I expect to call GetDataFromLocalFile, passing a filename string as an argument, and assigning the result to an array, a la:
arData = GetDataFromLocalFile(ByVal sFileName As String)
The problem is that I have no idea how to tell my app that this DLL exists, or that there is a function inside of it that I can call. Any help on this is appreciated. Even if it's along the lines of 'what you're trying to do is [insert correct terminology here] so see this MS help topic: xxxxx'.
Thanks in advance!
:Rich Lohman
|
|
|
|
|
Basically, you're looking to write a plugin framework. Search the articles for plugins, or just click[^].
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks, Dave. Most of the content surrounds C#, but at least I can do some more googling using the 'plugin framework' keywords.
Richard::Lohman()
|
|
|
|
|
Have you tried adding your DLL as a reference to your project? Should be all you need to do if the DLL was written with a .Net language.
Steve
|
|
|
|