I have a set of buttons on my master page (I have attached the code below) but no onclick event is being raised. I pulled the final page source and no onclick event was present. As you can see I tried a few different approaches to solve the problem. I am looking for a normal postback to the server but I am getting nothing when I click an...
I'm trying to create a regex that will look for french words whether a user specifies the accented characters or not. So if the the user has searched for "déclaré" but types in declare instead I would like to be able to match the text still. I'm having difficulty making this more dynamic so that it can be matched on any french word...
...
How can I disable the Excel export option when I generate a report, via the ReportViewer, in my winforms application?
ADDITION:
In particular, I want to hide the toolbar button that refers to Excel output/export task, and not .the one that handles to the pdf export option.
...
I am new to the world of VB.NET and have been tasked to put together a little program to search a directory of about 2000 Excel spreadsheets and put together a list to display based on the value of a Custom Document Property within that spreadsheet file. Given that I am far from a computer programmer by education or trade, this has been ...
i hope i'm just doing something wrong here.
Ideally i'm trying to open the connection, open a transaction
execute a ton of prebuilt sqlstatements (with parameters) against this connection
then close the connection. ideally all in the same batch.
It's easy enough to wrap this all in a for loop, however i'd like to use the forEach functi...
my application builds a pdf with images
in the solution explorer i added a folder called pics and dropped all the images there
when i run the program from my computer, there are no problems, but when i had a different user install the application they get this error:
here's how i am including the image:
Dim jpeg2 As Image = Image.G...
Hi ,
I am using MonthCalender control in vb.net to select a date. I am able to save the selected date to DB and also retrieve and bold the previous selected date. But even though date is bolded it is not displayed when the form loads. It still highlights today's date. What Do i do to highlight the previous chosen dates. Also i want to ...
Greetings and thank you in advance for your answers. I am fairly new to creating controls. I have created a datepicker control which uses the jQuery datepicker. It works in most instances except within another control which utilizes a gridview. It seems that control is not being loaded since the control is only created in edit mode, ...
I have a dictionary in the form of: { "honda" : 4, "toyota": 7, "ford" : 3, "chevy": 10 }
I want to sort it by the second column aka (the value) descending.
Desired output:
"chevy", 10
"toyota", 7
"honda", 4
"ford", 3
...
Hey all-
I have one multi-row INSERT statement (300 or so sets of values) that I would like to commit to the MySQL database in an all-or-nothing fashion.
insert into table VALUES
(1, 2, 3),
(4, 5, 6),
(7, 8, 9);
In some cases, a set of values in the command will not meet the criteria of the table (duplicate key, for example). When...
I'm attempting to copy cells, one at a time, from an Excel 2003 (or 2007) spreadsheet to a Word 2003 (or 2007) table. I'd like the code to be version-agnostic, and so am using late binding. The formatting of the contents of the Excel cell, such as color, underline, strike-through, needs to be preserved. My approach is to use a Word doc a...
I've come across a situation where I try to run a simple line of code in a method
Dim res As DialogResult = frmOptions.ShowDialog()
but nothing happens. The dialog box will not appear. If I run this method from another location in the code it executes fine (i.e. displays the form in dialog mode and code executes fine thereafter). Hence...
Can anyone help me on how can I disabled specific rows in ListView using vb.net 2003 language?
...
How to validate the background color of SPECIFIC rows in ListView in vb.net?
...
I have a ListView control set up in details mode, and on a button press I would like to retrieve all column values from that row in the ListView.
This is my code so far:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim items As ListView.SelectedListViewItemCollection = ...
Which version of Mono do I need to convert and run the Windows applications that I developed using VB.NET that came along with .NET 3.5, in Ubuntu?
...
Hi,
I am trying to update a replica list on a Exchange 2003 public folder. I am using the WMI namespace exchange_publicfolder to try and add an Exchange server (using the servers DN) to the AddReplica procedure. Every time I run this I get an invalid parameter as an exception.
Below is the code that I am using to do this.
WMI.C...
Hi,
I need to access "ModifierKeys" from a class, not from a form (I have a reference to that form, but frm.Modifierkeys is not allowed from the class). Is that possible, and if yes, how?
Thanks!
...
I'm trying out the Rijndael to generate an encrypted license string to use for our new software, so we know that our customers are using the same amount of apps that they paid for. I'm doing two things:
Getting the users computer name.
Adding a random number between 100 and 1000000000
I then combine the two, and use that as the lice...
there is any method for calculate days of a month?
thanks
...