|
Sir,
There is a string like "this is a string"
I want to select substring "string" programically.I mean at run time it comes in the label control in the selected format and the remaining substring will be unselected.
Like in msdn library a search keyword is entered .now the result description comes with the search keyword selected i.e having blue background of the search keyword.
Please help me.
Thanks and Regards
amaneet Brar
|
|
|
|
|
hi,
i need to create a asp.net using vb.net program to manage sql server database users and groups, can someone advice the best way to do this, i was thinking of using sql queries to do this, but dont know where to start ? is there other best way to this, or can give me links to article concerning this?
many many thanks guys!
regards,
Stephen
---------------------
www.islasolutions.net
|
|
|
|
|
miceisland wrote: i was thinking of using sql queries to do this, but dont know where to start?
I usually start by working out what the application needs to do. I create a list of functions it performs. If there is a technology that I need to use that I don't know much about then I read articles about it, look at samples and build small test riggs to demonstrate to myself how it works.
miceisland wrote: or can give me links to article concerning this?
You can use your favourite search engine to look for "SQL Server" and "user", "group", "role", "login", etc.
Once you have some idea of what you can do and you have a specific query (rather than this vague query) then forums become a great place to get the answers to your questions. At the moment any answer can only be as vague as the question.
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
My: Website | Blog
|
|
|
|
|
I am using form 2.0 control for displaying unicode text. I am able to copy the unicode text from that control to clipboard but fails to paste the unicode text from clipboard to form 2.0 control.
Also I am struck how to type in unicode in form 2.0 control!!!
Plzzzz help...
<plz give="" me="" any="" link="" related="" to="" these!="">
Padma Gahlot
|
|
|
|
|
Sir,
I am using connection string in the following format
Dim cnstr As String = "Provider=Microsoft.Jet.Oledb.4.0;data source=C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\WindowsApplication1\db1.mdb"
But when I use connection string in the following format it shows error and connection does not get establishment.
Dim cnstr As String = "Provider=Microsoft.Jet.Oledb.4.0;data source=WindowsApplication1\db1.mdb"
I don't want to declare the full path.
Please help me
Thanks and Regards
amaneet Brar
|
|
|
|
|
amaneet wrote: I don't want to declare the full path.
Then try this (assuming that the MDB is in the application path):
Dim cnstr As String = "Provider=Microsoft.Jet.Oledb.4.0;data source=" & Application.StartupPath & "db1.mdb"
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|
|
|
Hi Guys... I need help... i am using Ms Access database, now my clients has changed and sending Ms Excel sheets .so now i want convert Ms Excel( multiful sheets), CSV files into Ms Access. can anybody help me..... and send me code if you have anybody... it'll be grateful for your help..
Sri..
|
|
|
|
|
|
Has anyone tried creating a program that implements Secure File Transfer Protocol? I have seen code for stand-alone FTP programs and several 3rd party components that allow for sFTP, but I haven't seen complete code for sFTP.
From what I have read sFTP is FTP running over a Secure SHell (SSH). I don't mind doing a bit of investigation into this, but I haven't done Network programming previously. If anyone could point me in the right direction it would be much appreciated.
I'd like to code this without using third party components so that I have complete control and accountability for the end result.
Thanks in Advance,
Paul Taylor.
|
|
|
|
|
|
Thanks for the link.
I have been particularly busy with other projects, so I haven't had a detailed look into the code. I'll have to brush up on my C# skills to figure out what's going on.
Thanks,
Paul T.
|
|
|
|
|
I have created a recordset from a data table, I have then populated a listbox with the data from the recordset using the lst.items.add() property.
What I want to do now is when a user clicks on the item in the listbox, I want to be able to retrieve the specific record from the recordset, so I can access data from other fields in that record. Is it possible to do this?
Bryn
|
|
|
|
|
I'm working with a search function with navigation bar. the simple function with searching data which able to go previous or next data. I first select the data and fill into a dataset, then use bindingmangerbase to move the position. it works fine. The result can be filtered and displayed correctly. however, as it can only display the result. I cannot go to the previous or next record of the result.
For example, If I want to go to the productID #100, it just show me the record that I select. I want to search ProductID #100 and also able to view the previous or next record of it. that is, not select this record only, but allocate the point here and able to move to next record.
anyone can help? thanks.
|
|
|
|
|
How can I bind one ComboBox to another having a 2 table dataset with a relation created? I would like to view in second Combo only these records which have equal key to the record selected in the first one.
|
|
|
|
|
hiii
i don't know what the word delegate mean but i see it in every material belong to vb.net and i don't know what it mean and where and when and why to use it
i need here in explanation what it mean thanks
ma_refay
|
|
|
|
|
Google[^]
Take a look at the first result
You know you're a Land Rover owner when the best route from point A to point B is through the mud.
Ed
|
|
|
|
|
how can we use SQL IMPORT DATA TOOL in vb.net that can retrieve data from text file and insert in a sql table
|
|
|
|
|
hi every member,
pls help me by posting code in vb.net
i wanted to enter date in textbox and that textox must be masked and how to retrive date in masked textbox from datebase please give me code for it
i am very much in need of it i have surfed every site but couldn't found it useful
give me coding any from you sir
my e_mail id u_rock100@rediffmail.com
umesh
|
|
|
|
|
how do we use the "import data" tool of sqlin vb.net which transforms data from textfile to a tables in sql ?
|
|
|
|
|
An unhandled exception has occurred in your application.
If you click continue, the application will ignore this error and attempt to continue.
If you click Quit the application will be shut down immediately.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Column 'AnswerContent' does not belong to table Answer.
at System.Data.DataRow.CheckColumn(DataColumn column)
at System.Data.DataRowView.GetColumnValue(DataColumn column)
at System.Data.DataColumnPropertyDescriptor.GetValue(Object component)
at System.Windows.Forms.DataGridColumnStyle.GetColumnValueAtRow(CurrencyManager source, Int32 rowNum)
at System.Windows.Forms.DataGridTextBoxColumn.Edit(CurrencyManager source, Int32 rowNum, Rectangle bounds, Boolean readOnly, String instantText, Boolean cellIsVisible)
at System.Windows.Forms.DataGrid.Edit(String instantText)
at System.Windows.Forms.DataGrid.Edit()
at System.Windows.Forms.DataGrid.OnEnter(EventArgs e)
at System.Windows.Forms.Control.NotifyEnter()
at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
Application
Assembly Version: 1.0.2349.36037
Win32 Version: 1.0.2349.36037
CodeBase: file:///D:/Project/HiddenMan/HiddenMan/Application/bin/Application.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
ClassLibrary
Assembly Version: 1.0.2349.36037
Win32 Version: 1.0.2349.36037
CodeBase: file:///D:/Project/HiddenMan/HiddenMan/Application/bin/ClassLibrary.DLL
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitdebugging="true">
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Lam
|
|
|
|
|
|
It's good if someone asking for help mentions what he/she wants others to help on.
You should read the first line of Exception Text.
|
|
|
|
|
hi everybody
iam working in project in which the textfiles are continously changed ,or some data, is added to it by another application and i have to filter the textfiles and save it to another file and i have to process 56 files at a time and if all are processed continouslty cpu usage comes to 100% so i need to do something so that only the modified data which has addded to the file since last filteration done by my application so how can i do so can anyone guide me to do so thanks original text file format is like 20062511.095525,34444,566,7 and i have to filter it as 11/25/2006,95525,34444,34444,34444,34444,5666,7
pls guide me thanks
sourabh
|
|
|
|
|
Seems like a convoluted way of doing things to me. If you have the opportunity to redesign it so that the data is stored in a database of some sort rather than text files then you'll have a much more robust solution.
The only way you can detect that a file's contents have actually changed is to read it. The way you can tell if a file has been touched (i.e. written, modified or created) is to inspect the file's creation date or modified date in the file system. At the very least you'll then be able to detect and read only the changed files and not all 56.
As an advanced topic you can also be advised of a file's change of status by some system events, but this is I think beyond the scope of this forum. There are articles on The Code Project that discuss this issue if you wish to pursue it.
...Steve
1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once
|
|
|
|