I 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?
1)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.
i am having troubles with one of my commands for a irc bot im making when someone inputs !tf gods NAME it will check through something i have preset it all works but the one "if" wont work with variables for some reason only normal text. If i can get it to work with variables i will be fine.
I have a slightly more complex xml document that I don't believe or know how to extract the info that I need. From what I can tel by the GetElementbyTagName it is only good for grabbing 1 tag, with this one I need to grab the day which only appears once, the attribute of the PricingNodeHourly (hour) and then the LMP. I believe that if all I had to grab was the LMP I would have no issue using the GetElementbyTagName, however I don't believe this is the case. Perhaps I'm wrong.
Here is my deal...I have a C# master page (shown below):
CODE:
And i have a VB Content Page:
CODE:
In a C# content page...the lblSuid.Text = Master.SUID is doable with the same master page...why can't or how can i access that property in a VB content page from the C# master page...I have gotten it to work C# to C# and VB to VB...but not C# to VB.
I have a structure representing a log, containing fields such as Order Number, Line Number, etc. Each time a test is done, this log structure is serialized and appended to an Xml file created on the day which the test was done. At present, i have 20 or so Xml files containing varying number of log structures which i would like to be able to filter through in a single search. My target at present is to be able to load all data against a specific order number, and also to perform a search and return distinct records, as there could be multiple Order Numbers in one or many files.So far, i've attempted to load all the data from all files into a large generic List(Of Log) and use LINQ to filter out the results. I've also tried loading all the data into a DataTable and filtering using the Select method. The last method i used was using the SelectNodes method from the XmlDocument class. All of these methods seemed to work but i was becoming stuck when filtering distinct records?
I have the following code to extract zip file. It works if the zip file does not contain any folder. (Eg.A zip file only contain text file can be extract, but if the zip file contain a subfolder "New Folder" where the textfile contain inside the folder, then it cannot be extract).What should I change my code?
Code: Private Shared fz As New FastZip fz.ExtractZip(zipFilename, targetDir, FastZip.Overwrite.Always, Nothing, "", "", True)
I have a server, in which people use a browser I made, to upload files for others to download. I am making a system in which a user will update their files - other users will automatically download the new files and put them in a special place replacing other files.I have looked this up, and I don't seem to find straight answers in which will solve my problems. Should I do it via FTP, and have it download?The files I wish for them to download need to be put in a specific folders inside %AppData%, How would I do that aswell?
I am still learning the ropes of vb.net. Most of the time I get by fine, using google and searching here. But i've run into a road block. I am trying to extract email adresses from the source code of my website, suppose I can populate the Rich text box with all the source code, and the are emails sitting inside. How would I extract the emails from it and put them in a separate box.[code]...
Let's say i did add some exe file to the project's resources.now if i want to run that file, i have to extract it from the resources as a new file and then i can run it
i am inserting a row in an acces table but I also want to get the id of the last inserted row so that I can use that value. how I can go about it?
Dim iSql As String = "Insert into CompanyDetails (code,description) Connections.MyDataAdapter(iSql) Public Shared Function MyDataAdapter(ByVal iSql As String) As
I have seen that in universal usb installer the program asks for a file then has 7zip extract the contents of the iso, is there a way to do this in vb.net?
I know how to extract the ID3 tags from mp3 but how do I do it for .mpg.I need info like Genre, Artist, Song Title etc.Searched Google but couln't find any good link. The only link that I came across was this[URL]..This is in vb6 and it doesn't give the info that I wanted.
I am having trouble extracting the response XML from an XMLHTTP request.
I am currently subscribed to a RSS Feed, [URL]
The code I have only retrieves the first 20 posts rather than all of the 133 posts that I see.
I am linking the problem to cookie settings. I seem to think that the request I am sending is not incorporating the cookie settings that I have on my computer.
You may have to subscribe to a feed to extract more than 20 posts. The standard for RSS feeds (without subscriptions) only allows a user to view 20 posts, HOWEVER, with subscription, the feed's number of posts grows.
Provided is the code I have implemented so far
Sub tester() Dim xmlreq As MSXML2.XMLHTTP Dim xmldoc As MSXML2.DOMDocument Dim strurl As String
e.g.For the url link text rssDoc.SelectNodes("rss/channel/item").Count is greater than zerobut for the atom url google/atom rssDoc.SelectNodes("rss/channel/item").count is equal to zero.How can i check if the atom rss url has any nodes or not ? have tried for ssDoc.SelectNodes("feed/entry").Count, but is giving me zero count.
Public Shared Function HasRssItems(ByVal url as string) As Boolean Dim myRequest As WebRequest Dim myResponse As WebResponse