Search:
Type: Posts; User: Pradeep1210
Search:
Search took 0.88 seconds.
-
You don't need the intermediate DataTable. There is an overload of WriteToServer which accepts DataReader.
Somewhat like this:
Sub DoTransfer()
Dim connectionString As String =...
-
You didn't show when you opened the connection. Is it open?
'Connect Command to DB
SqlGet.Connection = ConGet
ConGet.Open()
-
What is instanceOfMyAppDataClass?
Try
If Me.checkData() Then
-
You need to have a look at System.Globalization.CultureInfo class and more specifically the InvariantCulture thing.
-
To use your table variable in a dynamic query, you would need to pass @MyDeadLines to SP_EXECUTESQL since it is not a physical table.
EXECUTE sp_executesql @Query, N'@MyDeadLines UserDeadLines...
-
The NOT RECOMMENDED way is to use dynamic SQL
@MyDeadLines UserDeadLines READONLY,
@SelectThings text
AS
BEGIN
-
I tried the regex on the links, numbers and email address you sent and all of them get selected.
Is there any specific problem you are facing?
-
I tried the regex on the links, numbers and email address you sent and all of them get selected.
Is there any specific problem you are facing?
-
Can you send some sample text that you are entering that contains the links/emails/phone numbers etc.?
-
No, you can combine them into one regex using | character (which basically means a or b).
Somewhat like this:
function embedUrls(text) {
var urlRe =...
-
All you need is to come up with a good regex for what you need. What I showed you is regex for URLs which relies on the fact that they start with http/https.
So for the links ending in...
-
How are they sending links - Well-formed anchor tags or just URL in regular text?
Try this:
<script>
function sendFunction() {
var userName =...
-
How many sheets do you have in your Excel workbook?
-
Just as I mentioned in my original post, you should not call the Form or controls on the form directly from inside the DoWork event. Instead, report progress and update any GUI elements there.
The...
-
At-least there is no straight-forward good way to do this. There are workarounds though.
Here are a few ways I can think of:
1. Use AppActivate and SendKeys to set the focus on desired controls...
-
This is so confusing. Can you rephrase your question? Are you looking for a VB.NET solution, or you already have a VB.NET solution but looking for alternatives?
And what data are you expecting to...
-
You ask question to one person and expect an answer.. but you don't want to ask question to all the members (including the one you PM) and expect no one to answer? :afrog:
The prime purpose of a...
-
You could just put a fixed dummy constant value.
Like this:
Me.Data1Dataset.Table1.Rows.Add(New Object() {0, Nom.Text, Prenom.Text, niassance.Text ... })
Since the overload of Add...
-
If you want the control to fire events, use the WithEvents keyword while declaring it.
So, in your case try:
Dim WithEvents DGV As New DataGridView
-
My bad.. I was probably wandering in my wonderland while writing that statement. I meant the Form Load event. :blush:
-
Just as Arnoutdv said, calling a separate function has its performance implications because it has to push all the current variables into the stack and then again pop them back again after your...
-
Is this happening in the constructor?
The debugger doesn't stop on errors in the constructors (i.e. Sub New)
-
You can also put all the REPLACE in one line since they return the output string and can be fed to the next REPLACE.
Dim textBoxes = {TextBox1, TextBox2, TextBox3}
For Each box In textBoxes
...
-
If you know the ID of the HtmlElement, then you can get it simply by using the GetElementById method. You don't need to loop and look thru all the elements on the page.
Private Sub...
-
While reading/writing data from flat file is a bit cumbersome as compared to any database, it is not as hard as it might seem like.
Modify your code like this.
1. In your aspx file add a column...
-
How big is the CSV File? How many records?
-
Yep, you guessed it right. I am using VS-2008 (.NET 3.5). And it seems weird that though there is no compilation error (which means the overloaded method is present), the outputs are different in...
-
Doesn't seem to work. I get System.Linq.Enumerable+<ReverseIterator>d__99`1[System.Char] instead of the reversed string.
This works though:
Dim s As String = "hello"
Dim r As String = New...
-
As to your question, one of these might work.
Try this:
htmlInput.click
'OR
-
It would be easier for everyone to read your code if you format it properly.
You just need to enclose your code in the CODE tags.
e.g.
... your code goes here ...
-
What does "attach a program" mean? Do yo want to launch the java program from inside your VB.NET program? Or, do you want to embed the java window in your VB.NET form? Or something else?
-
Looking at the bigger picture, no member whom you gave reputation by mistake (positive or negative) would go a long way if they keep posting the same quality of posts. If you added say 10 points to...
-
Are they all trying to connect to earth quakes? :rolleyes:
-
I don't know if there is a better way than this. But you can use this if you can't find a better alternative.
1. Add the following code to a Module. You can do this by opening the VBA Editor...
-
No, you can't use LIKE like that. LIKE is for comparing STRING expressions only, you can't compare a list/array of values against it. You need to think of alternatives.
-
One way to do it could be like this.
Add a Timer control and a PictureBox to your form and the following code:
Const StepSize As Integer = 10 '-- increase or decrease this to move the...
-
Like this:
Dim fmt As String = ""
Select Case TextBox1.Text.Length
Case 6 : fmt = "000 000"
Case 7 : fmt = "000 0000"
Case 8 : fmt = "0000 0000"
Case 9 : fmt = "000 000...
-
You are reading each file twice.
Dim myReader As New TextFieldParser(FileToProcess)
Dim lineCount As Integer = File.ReadAllLines(FileToProcess).Length
This means that you spend almost double...
-
Since your problem is now resolved, you can help us by marking this thread as [Resolved] so that others coming here with same/similar problems are helped too.
It is as simple as pulling down "Thread...
-
I think the property you are looking for is burried a bit deep.
You should use the TableAdapterManager class to set the command timeouts for individual TableAdaper commands.
e.g.
Dim tx As...
|
Click Here to Expand Forum to Full Width
|