Selecting Entire Line/row In RichTextBox - VB6 | Dream.In.Code?
Feb 21, 2012
I wanted to select the entire line/row in the RichTextBox, where currently the cursor is. How should I do it ?The code should be paste in command button 'cmdSelect'
View 1 Replies
ADVERTISEMENT
Aug 8, 2008
i have a datagridview control called videoplaylisttable it shows data from ideoplaylistdataset.videoplaylistit has two columns.how do i make it so that when the user clicks on a cell, in any column, the entire row gets highlighted and not just the single cell
View 1 Replies
May 17, 2011
I know that the user can select an entire row if they want to, however if they select just 1 cell, I want the entire row that that cell is in to be selected, so that the user cannot just select 1 cell, they can only select a row, no matter where they click in the table.
View 3 Replies
Jul 8, 2010
I have written a code and now i am facing a problem.I want to change the name "Textbox" to "Richtextbox" in my entire code.But since i need to change a lot,i cant do it manually.I had seen earlier that this can be done by some shortcut keys(which bring up the replace dialog) but unfortunately i cant get it.
View 2 Replies
Jan 9, 2012
I realize this post is rather long, but I wanted to give all the information up front instead of people having to ask me for more information.At the end of the re-installation of Visual Studio 2008, there is this message:
"Microsoft SQL Publishing Wizard: [2] Error: Installation failed for component Microsoft SQL Publishing Wizard. MSI returned error code 1638" in the log file dd_error_vs_procore_90.txt.
I have searched on Google for this whole message and found some references to this error, but I have done what they said worked for them and it did not fix the problem for me.When I searched for just "MSI returned error code 1638", I got that it cannot install something because it is already installed:"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel".In Add/Remove Programs I see these two programs:
Microsoft SQL Server Database Publishing Wizard 1.3
Microsoft SQL Server Database Publishing Wizard 1.4
Are these programs/versions what the error is refering to? Am I safe to remove them and depend on the similarly-named item which would be newly installed with Visual Studio 2008 - "Microsoft SQL Publishing Wizard"? I still use SQL Server 2000 and 2005 on my computer, as well as 2008. I had installed VS 2008 on my computer before without this problem and also have VS 2005 and 2010.
View 1 Replies
Aug 4, 2010
i am searching for gtalk open source code if anybody knows please let me know I need it urgently
View 1 Replies
Mar 13, 2012
actually this is not an vb.net code belongs to vb..i have written it for getting the data from com port 1.but i dont know what data the com port is getting..
Dim Lng As Long
Dim lpPoint As POINTAPI
Dim X, Y As Long
[code].....
View 5 Replies
Mar 11, 2009
Hello!
i have programming XML files using XSLT. but i cannot add a button or links so that i can come with another solution such <xsl: if test = "salary > 1000"> ... and so on.
someone told me that i can use PHP and ASP for that. but i am interest to do it on ASP.NET since i have used it before.
i am a little bit confuse on it. can someone show an example where i can use ASP.NET to display the XML files according to what we want? what programming language that need to be use? VB.NET?
it is necessary to use the XSLT in the coding?.
thanks in advance
- Nazirul
View 1 Replies
Mar 22, 2009
I usedthe following code
CODE:
But recieved an error
To create hyperlink ...what namespace shud i use?
View 1 Replies
May 25, 2011
I would like to display formation when a user place their cursor on a radio button, the information is about a sentence long giving a description about that particular button. I guess this is possible and should I be looking at code for a pop-up box.
View 7 Replies
Oct 27, 2010
I am trying to fire off an FTP of files. I have broken down the code to the barest minimum. I have used the Shell Command with success before but the solution is now evading me.
Sub Main()
Dim strGetFileCommand As String
strGetFileCommand = ("c:\Windows\System32\FTP.exe -i -n -s:getcash.scr 10.113.1.7>113Log.txt")
Shell ("cmd /c" & strGetFileCommand)
End Sub
I can run the command from the c:> prompt at the command line so I know that it is correctly formed.
View 2 Replies
Jun 18, 2012
I have two RichTextBoxes in my vb.net application (rtf1 & rtf2). rtf1 is loaded with the external data. Mostly It contains para split into different sections. The paragraph is a dynamic data, hence the no. of words keep on changing. Now my question is that, I want to select a para from the cluster, copy it and paste it into rtf2.
Manually I did as, Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
[Code]....
Here only i could find the starting position and length. without knowing the ending postion, i couldnot specify the number of characters. how to select "para content goes here is a multiline" only from the [para content goes here is a multiline]?
Actually the contents of Rtf1 is in the .txt format. But I knew only
My.Computer.FileSystem.ReadAllText("xyx.txt")
so, if i can select the para in the .txt file before reading it into rtf1, it will be more useful.
View 7 Replies
Dec 5, 2009
I need to select random checkboxes in a Tree view,which are retrieved from Database.My project is windows based and using WPf.In the Attachment i got only trreview but not checkbox
Checkbox_in_treeview.txt (2.09K)
Number of downloads: 339
View 4 Replies
Mar 31, 2009
I was writing this VB script to run in HTML for school and ran in to a problem, which my debugger says it is at line 33?
<html>
<head>
</head>
<body>
[code].....
View 4 Replies
Feb 21, 2010
I created this ASP.NET Web application and I can't get the amoritization table(MonthlyPaymentBox) to loop correctly. I think the problem is somehow in my code I am setting the TotalLoan = 0, but I just can't locate where that is happening. I assume this because instead of of starting the current balance at the users input, it starts at 0.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code].....
View 4 Replies
Jul 14, 2010
Im very new and have found a solution which filter with on e grid but how do I manaipulate the Vb code to accomodate anothe industry filter.here's my ASP current code
<asp:GridView ID="GridView2" runat="server"
AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlDataSource2"
ForeColor="#333333" GridLines="None" DataKeyNames="Permit_No"
[code].....
View 1 Replies
Feb 21, 2009
I have a code in WFA as followslistviewmain.GetItemAt(MousePosition.X, MousePosition.Y)This used to work fine for WFA, but when I shifted to WFP, I get the error
Error48'GetItemAt' is not a member of 'System.Windows.Controls.ListView'.C:\Users\ameel\Documents\Expression\Expression Blend Projects\Media Library\Media Library\Window1.xaml.vb16959Media Library
[code].....
View 3 Replies
Oct 26, 2010
I want to execute a code after every 5 min.I am trying to develop the application in .net and using the C# as a backend language.My basic requirement is a C# code which executes after every 5min which i click a start button on my .net form.
View 6 Replies
Apr 9, 2011
In my form I have Richtextbox control , button , textbox control . That Richtextbox contains a text and my code is :
Dim text As String = "videoplayback?"
Dim returnValue As Boolean = False
If text.Length > 0 Then
[code]....
View 3 Replies
Aug 20, 2009
how i can run .net framework on my pc tell me necessary requirements
View 3 Replies
May 4, 2011
I am using visual studio 2008 and i can't seem to rectify this error..it seems simple but i really can't seem to rectify this.What iam trying to do is pass the values of an initialized string array to an uninitialized string array using a loop..here's my code:-
Document ^doc = gcnew Document("Abdul.doc");
String ^yes = doc->GetText();
array<Char>^chars = {' '};
array<String^>^splitx = yes->Split(chars);
[code]....
View 2 Replies
Aug 13, 2009
I was just wondering if anyone had come across this issue before or anything. I just downloaded Visual Studios 2008 professional trial version (ISO) and when I try to run it or open it, I get a "The operation could not be completed. Access is denied." message. I tried doing everything.I disabled my antivirus, uninstalled a previous version of VS 2008, I still get this message.
View 4 Replies
Sep 19, 2011
I'm new here at Dream.In.Code, and this is my first question! To begin I would like to say I am new to Java but not new to coding, I am using Eclipse IDE 3.7 for Java and only have a basic knowledge of Java. I understand how it works; I don't know very much code... On to my question! I am wishing to create a simple JAR file for my own education/demonstration. Yet despite my searching and reading through my book I cannot find any relevant information about how JAR files are constructed. So, what defines a JAR file? How does one compile/make one?
P.S. I wish to work with JAR files because of their seeming simplistic nature and cross-compatibility. This is true, yes?My dearest apologies, I realise I posted this in the wrong forum. May a moderator move it for me?
View 5 Replies
Feb 20, 2010
I recently started working with Vb.net and I am just trying to create a class that has two properties one is StoreName and the other is StoreImage. What I am trying to do is figure out how to create objects using this class? Each object will be a Store that has a corresponding Name and Image to go with it. Here is the code I have written so far although I am not sure if im headed in the write direction with the function. Also not sure if it matters but I am using ASP with VB?
Imports Microsoft.VisualBasic
Public Class Store
Dim NameofStore As String
Dim ImageofStore As Image
[code]....
View 2 Replies
Mar 16, 2010
I have an internal ASP.NET / VB.NET CRM page that I would like to build additional functionality into.Currently we still use "Public Folders" in Exchange to store contact information for our clients.
What I would like to do is be able to connect to the Public Folders on Exchange through VB.Net in order to add new contacts or edit current ones.I would prefer to NOT have Outlook installed on the web server - (I say this because I tried working with Excel using COM and it was crap - ended up using Gembox.spreadsheet for all of my Excel needs).
View 3 Replies
Jul 20, 2010
Basically, I need to open the file from Textbox1.Text(this stores the path) and dump all the text into the string 'File'.
Example code:
Sub Button1_Click
OpenFile(1, TextBox1.Text)
[code].....
View 9 Replies
Oct 9, 2010
Macosxnerd101 - Site Feedback | Dream.In.Code?
View 7 Replies
Sep 7, 2011
I'm using Real Studio 2011r3.It's just a simple game that's a small maze from a bird's eye view and you've got to dodge enemies and what not.But I've been told to make a map array like this: [code] I've got level1map(13,13) as an integer, and the numbers in the brackets are supposed to be ypos, xpos.Say I make level1map(5,7) as = 1, it'll make both the 5,7 and the 7,5 so that you can't walk into them.. even if 7,5 is still = 0.I could have just left something out somewhere, but I've been trying to work this out for days..Oh, and with the 7,5 will let me walk there if I walk from the left or right.. but not from the top or bottom.
View 11 Replies
Apr 23, 2011
I am trying to make a webform that will act as a "wizard". My problem is how to get the program started e.g. I want to ask the user a question and have them choose a radio button, then have them click a next button. when the user clicks the next button I want to use the radio buttons as a condition so for example if the user selected the "yes" radio button then the program will display some new labels and textfields or radio buttons and so on.
View 3 Replies
Apr 1, 2009
I have an image called Image1 I have a button called Button1 I have a resource called display1 Basically, I want the Image1 to show display1 when the button is clicked.I've frigging looked all over the net. I CANNOT find anything. All people "work around" my.resources. They just propose solutions that involve Uri and getting the resource from a file path. All I want to do, is use My.resources.display1 as the image.
[Code]...
View 2 Replies