Add Additional Content To A Sandcaste?
Mar 12, 2009I'm working myself thru the sandcastle documentation and found this C# sample.[code]...
View 2 RepliesI'm working myself thru the sandcastle documentation and found this C# sample.[code]...
View 2 RepliesI have a sample app here I could use a hand with Basically I'm trying to update the TextBlock on the main page using MVVM when the content the frame updates the the property. Please find the code attached below:[URL]..How do i get the button inside the frame to change the variable and update the TextBlock on the parent control?
View 1 Repliesloop through a textbox control content and extract specific content from it
View 20 Replies1)This is my code.. (below)what i am trying to do here is to insert username and confirmed password into a sql table called login via a pre created form.I have 1 textbox, 2 Maskedtextboxes and a button.
what i would like is if the passwords do not match in both maskedtextboxes for the system to throw out a message saying passwords do not match please try again..which then clears previous content and requires the user to enter details again. once details are correct and system commits the new user details to the table and throws up a confirmation message.
[Code]...
I have a parent/child relation I am trying to create fow 2 datasets.The parent ds consusts of a range of PO Header information
After I fill this dataset I loop through it getting the PO number. I then take that value and execute another sql statement on the DETAIL file and fill a dataset(dtlDS) for EACH row in the parent. How do I add to this dtlDS for each row? I am getting no CHILD data in the merge. Should I be filling to a datatable and do an add.row and THEN dump into the dtlDS?
adding certain functionality to an existing ASP.NET application running on IIS 6.0 programmed in VB.NET.To aid in future development the client wants the additional functionality to be as future proof as possible. Ideally i have said that I would like to push for a solution using ASP.NET MVC3, running off IIs 7.5 and .NET 4, written in C#. This solution would act as a seemless addition to the current web-portal appearing probably just as an extra tabbed page.
But they will be completely seperate web-apps. Which is crucial.The main problems i can forsee are firstly sharing session particulars between the asp.net web app and the new application. Particularly with regard to maintaining session state (and not having IIS timing out on one of the apps). Also, conjoining the two "apps" appears problematic in my head, although this may be far simpler than i fear.
1) Embed the new fuctionality into the existing codebase (not a great option). This would mean losing any potential future upgrade-ability and also means not following better OO conventions by utilising the MVC framework.
2) Using an iFrame to link to the razor pages of a seperate MVC3 app (the one im favouring currently). Allows uses of all new technologies, however downside is sharing session data. Either through iFrame "attributes" through persisting a session state to a db? (slow?) or even some kind of web service interaction between the applications to push/pull user/session data?
Im practicing a database and I have a 3-column table. Im using binary formatting to save/open the file. I cant see what is wrong with my code“
I can display records ok when I press the save button
I can also save the records ok when the save/close button is pressed.
When I reopen the programme and press the reload button to reload the dataset, additional records will not be displayed nor saved though original records will be showing.[code]...
Im trying to get a sales percentage program to work and im having trouble on the last part. My homework is to get the original price from the customer and then take the sales percentage off and show how much it is. Then after the first percentage is off take an additional percentage off part and then show the grand total. I got all the way up to the additional percentage off part to work right. I dont understand why I cant add an additional percentage of and the program wont recognize it and work right.
Public Class Form1
Dim Num1 As Integer
Dim Num2 As Integer
Dim Num3 As Integer
[code]....
So, I'm currently working on sending and receiving data via a serial port. In order to use readline, I need to send vbCrLf, which is fine. I'm trying to get it to display just the characters sent and not the additional characters like Cr and Lf. Here's the most basic part of my
SerialPort1.Write(HexSendBox.Text & vbCrLf)
ReceiveBox.Items.Add("Received: " & SerialPort1.ReadLine())
The data I will receive in the ReceiveBox if I seng 'GG' is:
[code].....
We have a big Form class that we like to split into peaces using partial class approach That could be done by manually modifying a project file, and adding MainFormPN.vb entry
<Compile Include="MainForm.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.Designer.vb">
[code]....
The issue with this approach is when double click on this item in VS2008 IDE it shows new empty form, not MainForm UI. It looks like VS2008 does not support multiple partial classes for a Forms.
I am using a webbrowser control and loading a website that uses basic authentication. I pass the username and password in the additional header of the navigate routine. The problem is that the header is not retained while navigating the site.
I.E.I log into the site and pass the user name and password in the http header. When I click a link to access another page the header is removed and the site asks for credentials. If I was to just type the site into IE and log in the first time the headers are carried forward on all pages. how I can have the page retain the headers so the user never has to authenticate?
Dim sHeaders As String
Dim HelpBrowser As New WebBrowser
sHeaders = "Authorization: Basic: " & System.Convert.ToBase64String(System.Text.Encoding.ASCII.GetBytes("UserName:Password")) & Chr(13) & Chr(10)
Me.HelpBrowser.Navigate("http://www.mysite.com", True, Nothing, sHeaders)
I need to add an additional dimesion to outputArrayOfBits() in the code below which I hope conveys my intention. I need to convert a one dimensional array of 1 to n boolean (bit) values into arrays that group them by 8's so the output can be consumed by someone needing these values to be in hex format (0000 1111) = 0F How do I change the declaration of 'outputArrayOfBits and the nested control loop to achieve that?
Dim inputArrayOfBits As New BitArray(32, True) ' I can't change this.
'Create array of bytes containing what will be sent out has hex numbers 0 - F
'outputArrayOfBits(0) = (1,1,1,1,1,1,1,1) 'Hex value FF
[code]....
I have a gridview which shows selected data from a database all the columns will popup dynamically. but now i want to add an additional column with a list box is it possible or just a column will be fine
View 10 RepliesI'm am very new to Vb.net, I have coded in VBA.I have created a form that will open Microsoft Excel, add header text to the columns, and insert the text from a few of the controls located on my form ("not finished adding controls") when I click the Submit button.
My problem is that when I enter different data into those controls and click the submit button again, I get a new Excel Workbook with the new data.I need the new data the be submitted to the .Activecell.Offset(1,0) of the already open workbook.Ultimate Goal of Submit button is to open new Excel workbook, Enter multiple rows of data via Visual Basic Form.
[Code]...
Im trying to add data into a new column I have created in my gridview.[code]...
Now I need to go in and add data for the rows below the column. I have seen ppl saying I need to set it equal to a datafield but how do I create a datafield from scratch then?
I've got 2 data tables.
tblComponents - CompID (keyed), Name, PartNo
tblProductComponents - ProductID (keyed), CompID(keyed), PercentValue
I want to show tblProductComponents and have only the PercentValue the only value that can be updated. But, I also want to show the component information as well.I can do this in a view but then I lose the update ability using the tableadapter.
when catching the MM_MCINOTIFY msg with wParam = MCI_NOTIFY_SUCCESSFUL, how can i get additional information about the event? i'm guessing marshal.ptrToStructure, but which structure would it be?
View 3 RepliesI am looking for a way to obtain some additional features on a treeview. Both, to show as to be able to input some data with a particular hierarchical structure For that on each node I need next to the nodetext a entrypossibility to input some data or to make a selection. This input possibility should be either a textbox, a combobox or a chechbox. An example of what I wisch is almost this article, except that the comment column is only a fixed text, and that I need there a input control like a textbox, or combobox.
View 4 RepliesMy issue is to Find exact one Calendar object from a List Of(Calendar) by passing a particular date. I got to know about the predicate but not sure about passing parameter to it.
colorcode is List Of (Calendar) and calendar class has a property called DtmDate with which I want to compare and return the desired object. Dim a As Calendar = colourcode.Find(AddressOf New Calendar.FindByDate)
I got the predicate samples from Google and reached till now. But not sure how to pass my parameter i.e. date to it.
I need to make a custom control and decided, before that, to see if there were any additional components that I could utilize.When looking through the list, I found a component called an Expander. So I decided to add it and see how it works.
After adding it, I couldn't find it at all within the toolbox. I went back to Choose Items and it was checked, but still not in the toolbox.It's probably important to note that it is a WPF component and this is not a WPF Project. Would that make a difference?Is there something else I may be doing wrong?
I was wonder if anyone knows how to add additional buttons to the title bar. Please, Don't go to too much trouble, Just if you know a link to this or know how to do it. I did find This. But, I would like to have something like shown in this Image:
View 9 Repliesi'm developing an application with vb.net and mysql. I want to add additional users to the application but with different access levels. this is my original code [code]If i add a third parameter named level to the sql statement, how do i determine which form shows???
View 3 RepliesI am using visual basic express edition 2008 and office 2007. I am trying to write some data an excel file.[code]...
View 2 RepliesHow do you continue a select statement on additional line in vb
View 3 RepliesAt run time my application gives an error of "Conversion from type "DBNull" to type "String" is not valid. In my form only one field - Add_info is an optional field which might be filled or not by the user. Before, I had an error when an apostrophe was used so i updated the code as highlighted below. This in return removed the apostrophe error but generated an error whenever there is an empty additional field.
For irow = 0 To QryColSentDataGridView.Rows.Count - 1
If QryColSentDataGridView.Rows(irow).Cells(3).Value = True Then
Try
query = "UPDATE gprdsql.TblCollections SET system_time = '" & _
Labeldate.Text & "' where prac_no ='" & _
[Code] .....
I've been switching over to VB.net with visual studio 2010 and there is two big questions that are bothering me When I want to create an installer for my program, how do I do the following?
1. Pick the folder on C:\ drive where I want it installed? (ie c:\program files\myprogram)
2. I have about a dozen access databases and monarch models that I've created to work with my program. How do I include these in the installer?I'm not quite sure if this is a vb.net forum question, so pardon if it isn'i'm just starting here because this is afterall vb.net that i'm writing all of this in.
I have problem with multithreading.
For:
Code:
and multithreading to loop for:
Code:
How can I speed up this loop through additional threads?
I tried:
Code:
How can I do?
I am working on a desktop application, and in my application i am using combobox in 2 ways:
1. directly on the form, and
2. as a column in the grid.
This is how i have to used it in my application: whenever i am writing anything or selecting anything in my combobox it should display a floating panal containing a grid having some extra columns which help me in selcting any value in combobox.
[Code]...
I've run into a couple of errors within my program which reads a text file. When a user clicks a button to read the textfile and an exception is thrown, i have it displayed as a string in a message box, but an additional message box related to runtime error 52 'bad filename or number' has shown up and continues to pop up, even after clicking ok. I am currently working on the error itself in the textfile, but until I can work around all of the variables with reading this file, I was wondering if there is anything I can do to either prevent the runtime error box from popping up or figure out why it's popping up so many times. The really weird thing is sometimes after clicking ok on the initial message box displaying the error string, it won't pop up and other times it does, repeatedly.
View 6 RepliesI've got a normal Telerik hierarchical grid with a child detail table. However when the items get bound in the master table there is an extra row between each item. It has a cell with the class "rgExpandCol". I suppose this has to do with the expand icon? I have run out of ideas...
Has anyone out there experienced this before?