I have an app that goes out and looks at some files for the Date & Time so that I can compare later for if a newer file is in a directory.However I have seen that between some file copy's, I have files reporting back different time stamps, but in actually the files are the same, and I am assuming the time zone may be off of one of the computers that the file is copied from.How can I make this work correctly? This is what I have, but it still returns the files with the hour off between them and the UTC is changing the time, but still get the hour difference. (Obviously i'm changing the strPattern to whichever directory.I am looking at):
is there a different property on the file I should look for? The files belong to a software program, so they are not your typical .txt files or anything.
I am using an image button and on click of it i want to go to visited page.Now i am using - Response.Redirect(Request.UrlReferrer.ToString()),It is going to previous page, but when i am in a page of some user details where the link is looks like - users.aspx?userid=25 and i visit some other page and click back(image button) i want to see the same userdetail page. How to track that.
I have a search page with a couple of pulldowns. Dependig on the values of them I show a grid matching the searched criteria, basically a table with links the user can navigate to. My problem comes when the user wants to navigate back. At the moment I have a "Back" button which simply redirects the user to the initial search page. I think it would be a good improvement to have the values of the pulldowns filled in with the values the user selected, this way when he presses the "Back" button he would not have to restart the whole search process again.
We have a server application and a client application that communicates with each other using socket.
When the server application sends 2 messages about 16-31 ms apart, the 1st message is received by the client application with little delay (like 16-32 ms after it was sent). But the 2nd message is received by the client application a lot later (like 200 ms later) than when it was sent.
We already disabled Nagle algorithm (set NoDelay = True) in the socket in both the server and client application.
We are having problems with sending back to back emails on one of our web sites. The site is built with .net framework 2.0.We can send the first email without any problems on every try. But to send a second email you need to wait about 20-30 minutes.the problem.One thing we tried was changing the smtp email server. We tried a third party smtp server but the same problem persisted. So I think the problem is not with the smtp server but with our .net code.
I am creating an application that will be faced with multiple decisions to make and I want to know if it is possible to create around 20 if statements to excute or decide between before excuting?
The application will encounter multiple websites but each website will have the same elements but not neccessary in the same order so I was going to tell the app to loop through the IF statement and if the condition is met to run that sub routine where it starts over and loops through the IF statements until next condition is met.
Is this possible in VB.NET or is 20 or so IF statements to many to use at once?[code]...
I have a dBase file named PROBA, with two cells: "VNEV", "KNEV".I would like to see the records back-to-back in a Msgbox.
Imports System.Data Imports System.Data.Odbc Public Class FormCount1 Public Sub Recordszm() Handles MyBase.Load 'TODO: This line of code loads data into the 'DataSet1.PROBA' table. You can move, or remove it, as needed.
I recieve a failry complex XML from a web service (30+ tables; with nesting). I need to be able to look a this data; make mods and then pass it back (still well formed per xsd) to the web site. I am able to parse it both natively in XML and by putting it into a dataset. I am more comfortable working in a dataset so thought the best approach for me would be to take the XML to a dataset dsOrder.ReadXml(XMLreader) (also tried with inferschema switch) work with it as required; then using _newXML_str = dsOrder.GetXml
put the dataseet back into xml. This almost works, but the XML while well formed does not adhere to the schema. In particular, it appears that all the simple types for a table are put ahead of the complex types (even thoguh the schema wants some of these items intermixed), so when sent back to the web site, it complains about the order of the tags.
is there a way to get the xml from dataset command to form an xml that will ahdere to the schema? I tried using the available xsd to influence this process but it either doesn't work or I did not know how to apply it properly. If someone has a suggestion for this application I would appreciate comments and any detailed samples that come to hand. I am working in vss 2008; framework 2.0; and use vb.net.
I'm working under vb 2008 french version i'll try to translate my problem, hope that u get it right well yesterday i started creating a simple calculator (application windows forms) i did the half work then i save all (Ctrl+Maj+S) . Today i opened the saved file ,i get the Form1.vb page and the Form1.designer, but i cant find the Form1.vb[design] .
My project is getting lost due to hdd external problem, I am taking a backup every day, so i should be saved, but the problem is I am using a class library I create which exist on another directory, when I try to open it, I saw a lot of strange character look like hex charI have added the class library to my project as new project and as I said before it exist in another a directory outside the project. the last backup i found was in 11 Aug 2010. And i coded a lot in one of the class.
I know that pressing ctrl- will take us to the last place. What about if we want to move forward? Also where in the vb.net documentation is this mentioned?
I am trying to load the Table contents in a .rtf format but It just leaves the rich text box blank thats my code for adding in RTF format which works fine[code]...
My problem is that I'm trying to parse a String to a System.Drawing.Color. Im trying to set up a simple notepad, here's part of my code:
Private Sub ToolStripMenuItem6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Colorfuente2.Click Try Dim cdlg As New ColorDialog[code].....
I am trying to add a back button on a popup. But I have having issues because I am getting a 403 error. I have also tried Request.UrlReferrer.ToString(). Simply right clicking and selected back works and the client does not want the tool bar with the stnard IE back button on the pop up.
Why can't I get any values back when I use Linq to Sql? BHS_TimeSheet is my database table in which have some records. Model.TimeSheet is a class I create in the model. Private db As DataFactoryDataContext
i have a form and i want to have my form to have a button thatwhen i click the button a backup of database will firedo you have any solution or idea for this
Would I be right in saying that when using tableadapters that you can't get the identity value back from the tableadapter when you insert a row intot a datatable then save the table back to database using tableadapter.update(datatable).It will only return the value of 1?
I would like to return the identity from the table but didn't want to have to assign all the parameters manually in code cause theres about 30
At this moment I write and use Visual Basic 2008, how do I change back my IDE for different language such as Visual C++ or Visual C#. Can I change it? It is advisible? Do I get back my IDE from previous VB 2008 setting?
I have following codes on lostfocus of textbox1.text to search values. It works fine but how to navigate database. I mean what codes should I use for Next Record and Previous Record Buttons. [Code]
I'm currently creating a web service that will allow the user to access a staff directory that is stored in an XML document format on a server. What I've managed to do so far is load my XML document into the server, convert the entire contents into a string and send it over SOAP to my client. The client successfully receives the entire content of the string. My problem however is that I'm finding it hard to find a technique that will allow me to convert my string back into an XML structure. I used a messagebox in the client to display the contents to make sure everything is received and all is well. Below is the code I'm using on the server side to convert the XML document to a string.[code]....
im doing this problem that has A.decimal B.hexidecimal C.binary and its a user pick, i also have to convert it to A.decimal B.hexidecimal C.binary. i dont know how to go around with this. this is the code i have
dim remainder as int16 n= txtfrom.text do while n > 0
[code]....
this is only for the decimal to binary part though. it keeps not wanting to work.