OOM Excpetion Is Back And Unable To Fix It?
Oct 4, 2010OOM excpetion is back, but this time I know what is causing it! Now, how do I fix it?
View 6 RepliesOOM excpetion is back, but this time I know what is causing it! Now, how do I fix it?
View 6 RepliesGiven the following code:
try
// code1
try
[Code]....
Are there any side effects to naming the two exception variables the same or should they have different names?
I want to open a notepad file using VisualBasic.Interaction.Shell method. At present I get a file not found exception using the following code.
int pid = Interaction.Shell(@"D:abc.txt", AppWinStyle.NormalNoFocus, false, -1);
But this works:
int pid = Interaction.Shell(@"notepad.exe", AppWinStyle.NormalNoFocus, false, -1);
[code].....
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.
View 2 RepliesI 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.
View 5 RepliesI'm not sure what I did, But I would like to get my toolbox back to normal where I can put it back on auto hide and such.
View 3 RepliesWe 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.
Imports Microsoft.VisualBasic
Imports System.Net
Imports System.Net.Mail
[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.
[Code]...
i am using this function to get link of page which refered current page (in Back Button)
[Code]...
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] .
View 2 RepliesCSV/Delim Text File To Datagridview, and back.
View 2 RepliesI 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):
strStamp = FileDateTime(strPattern).ToUniversalTime
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 need the codes to write a softwrae that will back up files from a computer to a removable disk in vb
View 1 RepliesMy 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.
View 6 Repliesi'm using vb 2008 and i'm wondering if theres any way to get the gui grids back (like in vb 6) and to turn off/make snap less sensitive..
View 2 RepliesI 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?
View 1 RepliesI 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]...
View 3 RepliesI found this source code for controlling mappoint in .net .Net confuses me so much.
What would it take to convert it back to VB6? The projects seem small in size, but I just dont understand .net[URL]...
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 creating a vb usercontrol i have a procedure that runs in a module i want to call back to the main activeX control if it was a form i would do
form1.DoThis
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.
[code...]
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
[Code]...
Ill just show u a fake vbnet code and u make it into a real one i want ot make it have a string and go up a directory
CODE:
so the Delete url turns into C:/Main/root/log.txt orange mean that its not in the url it was removed underline is the correct url
When i try to bring a panel down it wont go down but when i bring a panel up it goes up but never goes down.
View 3 Repliesi 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
View 7 RepliesWould 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?
View 9 Replies