In my winform app in VB.NET I want to use the localization option.
But i have a few questions/problems.
I'm using a menu strip to select an other language.
But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose ano...
Hello all!
How would I be able to check what language the user is currently viewing my DotNetNuke webpage in?
If I'm only giving the options of english (canadian) and french (canadian), how would I check?
I've tried looking into currentculture, but haven't found anything yet.
Thanks in advanced!
...
Hi guys, how can I display data fetched from several rows on a crystal report. Im using vb.net. So far i can just display data fetched from only one row. Thanks for answering
...
Working around an issue where my jquery datepicker does not display after postback within an update panel.
The textbox (trigger) for the calendar is contained within a control, which is contained within an update panel.
I found an article assisting with this issue, and it informed me to do the following
Protected Sub Page_Load(ByVal s...
Does VSTO 2008 work for Office 2010 or will it only be VSTO 2010? If it is VSTO 2010 then does this mean that I have to update all my clients to .NET 4.0?
...
I have a (dump) question regarding VB/C#
I often use third party classes where I can access a child object with only specifying the id or key.
Example:
Instead of writing:
DataRow row = GetAPopulatedDataRowSomeWhere();
Object result = row.Items[1]; // DataRow has no Items property
Object result = row.Items["colName"]; // Also not pos...
I have developed an application in vb.net. I use a dll that I build as part of a different project in my solution. For some reason I don't get the full functionality of my application with the dll built as a "release" version, but it does work if the dll is built as a "debug" version (that's a whole different problem). I don't have a ...
Hi, Im using vb.net and I need to fetch data from two different tables and display it in form of report.
These are the schemas and data of my two tables:
CREATE TABLE personal_details (staff_ID integer PRIMARY KEY, title varchar(10), fn varchar(250), ln varchar(250), mn varchar(250), dob varchar(50), hometown varchar(250), securityno...
Hello,
I how do I find the last but one character in a string in VB.net.
for e.g. I have a string Dim strTicket as string="56789-091F0"
I want the value "F"
Thanks for your help in advance.
...
i have a problem in inserting the listbox value into mysql database in vb 2008 i.e
if i select a video file i.e D:\videos\video1.mpg and add a msgbox() event before inserting into data base it shows the exact path i.e D:\videos\video1.mpg but when i check my database it shows me as D:videosvideo1.mpg how can i solve that
...
I get the following error message when I try the following:
Dim XL As New Microsoft.Office.Interop.Excel.Application
XL.Visible = True
XL.Workbooks.Open(XLTemplatePath)
XL.SaveWorkspace(XLSaveReportPath)
XL.Workbooks.Close()
XL.Workbooks.Open(XLSaveReportPath)
"Excel cannot open the file 'ContactReports.xlsx' b...
I have the following XML
<xml>
<ObsCont xCampo="field1">
<xTexto>example1</xTexto>
</ObsCont>
<ObsCont xCampo="field2">
<xTexto>example2</xTexto>
</ObsCont>
<ObsCont xCampo="field3">
<xTexto>example3</xTexto>
</ObsCont>
<field>information</field>
</xml>
Is there a way to get the content of "xTexto" ...
I have an app that has a console menu with 2/3 selections. One process involves uploading a file and performing a lengthy search process on its contents, whilst another process involves SQL queries and is an interactive process with the user. I wish to use threads to allow one process to run and the menu to offer the option for the secon...
I have about 15 .RPT files on my .NET 2.0 site, and I recently changed to a new database server.
I successfully changed the Datasource on 14 of those .RPT files, but on one, after making the change, I get "Failed to Save Document" when I try to save the updated report. I can change the subreport's Datasource, and save it just fine, but...
I code primarily in vb.net. I've been doing basic dependency injection manually and am looking to learn more about DI/IoC and maybe use a DI/IoC framework/container like Ninject. There are lots of examples and write-ups using Java and C# code. I'm looking for the best resources for vb.net programmers. Likewise, is there a particular ...
For example:
(1).SomeFunction().Equals("one")
(2).SomeFunction().Equals("two")
I really only need it for digits 1-9 in the case I'm working with, should I just use a switch/select case?
Update I won't need localization in this case either.
Update 2 Here's what I ended up using:
Private Enum EnglishDigit As Integer
zero
one
...
Hello every one :)
I'm trying to reduce as much as I can my VB.Net assembly side, and I just figured out that all variable names were kept unchanged in the actual assembly. Since I tend to use pretty long var names, it adds up and, by running dotfuscator on my assembly, I could shrink it by as much as 10%.
Thus I wonder: is there any w...
Good day.
I have started messing around with the MVVP pattern, and I am having some problems with UI responsiveness versus data processing.
I have a program that tracks packages. Shipment and package entities are persisted in SQL database, and are displayed in a WPF view. Upon initial retrieval of the records, there is a noticeable p...
I'm wondering, in Visual Basic 2008, how to execute an external dos command and get its output without help of an intermediate file (to speed up)?
...