Give An App Its Own Sandbox?
Jan 11, 2010How can I make my program operate in a sandbox for security? I am using Visual Basic 2008 Express.
View 6 RepliesHow can I make my program operate in a sandbox for security? I am using Visual Basic 2008 Express.
View 6 RepliesI have a website written in VB.NET that implements PayPal for payments. This is all working fine for successful payments, but I need to be able to simulate scenarios of a failed transaction, pending transaction, etc.
I have read the documentation, which starts on page 47. I enabled Negative Testing in a business account that I created in a Sandbox, but I am not getting desired results.
To simulate an error, as specified in the documentation, I'm passing an error code to Token, which is then used in a request to DoExpressCheckoutPayment - code below - but instead of this raising the error 10417, the response says Invalid Token:
[Code]...
What am I doing wrong in the code above so that I can't trigger a correct error? How do I simulate a response where the status is Pending, Processed, Failed, etc.?
i am new to this forum, hope u people will help me out.i need to add header to a text file which is created using my code.
View 4 RepliesI have a question. I'm using visual studio 2010 and I am making a windows application and I set the framework for the app to .net 3.5..I have some threads in my app and when I run it on my output screen it says: ' The thread '<no name>' (0x***) has exited with code 0 (0x0).Does anyone know how to change the '<no name>' ? MatthiWare N°1 .NET Freeware & Shareware site! Title: Project leader, Owner @ MatthiWare Current project: MW Virtual Desktop Contact: Admin@matthiware.net.ms Website: MatthiWare " MatthiWare... What else?!? "
View 2 RepliesI have a datagridview which fetches data from a local SQL server. Now, I have a setting called My.Settings.database_url which indicates the hostname of the SQL server.
Now, the problem is that if the host name is incorrect, instead of getting an error, the app just freezes. So what must I change in order to fix that?[code]...
Sometimes the app is working in a long time process, and I wnat to tell the user something like "Wait a moment, please"
I though to use a modal form but if I show this form, the process I said is not initiated.
How can I give this kind of messages?
Is there a way to give a value to multiple variables (integers in this case), instead of all at once?
For instance, I have Dim aceVal, twoVal, threeVal, fourVal, fiveVal, sixVal, sevenVal, eightVal, nineVal, tenVal As Integer and, pending listbox selection, I'd like to assign threeVal fourVal and sixVal all values of -1.
I need to create a variable which can symbols for only "1, 2, 3, 4, 5, 6, 7, 8 or 9 " so that I can use to check for a certain text.[code]...
View 9 RepliesI have a 2 combox's with the following items, Excellent,Good,Average,Fair,Poor in them and a textbox with a user defined numeric value
I would like to be able to do the following:
perform a calculation based on values in each box , example
combox1 = Excellent
combox2 = Good
textbox = 1000
[Code].....
I'm trying to figure out how to give Messagebox a timer. I found that people said i need to make a new form with a timer, How do i go about doing that?
Public Class IntegerMath
Private Sub BtnIntMath_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnIntMath.Click
[Code].....
I have used the
<ScrollViewer CanContentScroll="True">
<TreeView ...>
</TreeView>
</ScrollViewer>
but not properly working I want a new one
Now using VS 2008
Before I used VB 6, now I Upgraded to VB 2008.
VB6 Code
sdate = DateToString(dtpicker1 - 1)
edate = DateToString(dtpicker2)
Above code is working fine.
After Upgraded to VB 2008
sdate = DateToString(dtpicker1._Value)
edate = DateToString(dtpicker2._Value)
If I Put
sdate = DateToString(dtpicker1._Value - 1)
It is showing Error.
How can I write a code like dtpicker1 - 1
I have a grid view in my application i want to give underline to each row i dont want entire border to be shown?
View 4 Replies:idea:I'm a bit stuck I wrote a printing part.But cant find how to preform a pagefeed
rivate Sub PrintBTN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PrintBTN.Click
copieen = 1
[code]......
I have a DataGridView to display the content of my database. I Queried the required fields to a Dataset and Used this as DataSource for the Datagridview. Now i want to add dropdown filters to each column as we see in Excel Sheets. Is it possible and how.
Any how i require dropdown for the columns i also tried from below link to set the BindingSource.Filter = value but i did not find this property for Datagridview[URL]..
how do you give focus to a file open with process.start?
View 7 RepliesDim Sql = "UPDATE employee SET [password]='" + TextBox2.Text + "', [Question]= '" + ComboBox1.Text + "', [Qans]= '" + TextBox4.Text + "', [employeeName]= '" + TextBox6.Text + "', [employee_MI]= '" + TextBox7.Text + "', [employeeLname]= '" + TextBox5.Text + "', [Birthdate]= '" + DateTimePicker1.Text + "', [Occupation]= '" + TextBox11.Text + "', [Address]= '" + TextBox12.Text + "', [Gender]= '" + ComboBox2.Text + "', [CivilStatus]= '" + ComboBox3.Text + "', [Citizenship]= '" + TextBox8.Text + "', [Telephone]= '" + TextBox9.Text + "' WHERE username = " + TextBox1.Text + ""
[code].....
This is a part of my code of a VB GUI
[Code]...
how do write the value of the integer TotalPrice to lblPrice ?
I need to set my application to save entry (e.g LoggedOff) to database if application shuts down abnormally, like power failure or anything else like that.
What event should be fired to achieve this?
I am a beginner who used to use VB5 seven years ago, but am now trying to get up to speed using Visual Basic .NET 2010 Express in XP.
A difference I have noted is that in VB5 my buttons appeared to be three dimensional (raised) due to shading, etc. With VB2010 my buttons are plain 2D. I have not been able to find a property to give them the 3D appearance.Is this a limitation of using VB Essentials? If not, what properties give buttons the appearance of 3D?
I have following query,
[Code]....
how to do it in linq queries ??? also is it possible to combine firstName and lastname in select query in Linq ? just like we do in SQL Queries like : select me_first_name + ' ' + me_last_name as 'Full Name' from me_employee how can i achieve this task in linq?
I've heard this is possible, and my code to mimic this possibility is not throwing an error but it's also not a part of the intellisense architecture.
[code]...
So i need to give backspace function to my menu here is the menu:
[Code]...
give me a working example of "GetWindowRect" or something similar that would give me coordinates of a window by caption?The bold and underline won't come off so I'll just keep typing. I have googled and tried over 10 pieces of codes now. All of them are old and do not work. I found 1 tht works but thaat is for the topmost window only and I cannot make it work with caption.
[Code]...
In one grid each cell have childgrids and that child grid each cell contains 7 colmns and that 7 columns bind data from database but the cell spacing is not equal. [code]...
View 2 RepliesIn my propertygrid having 3 categories..By default these categories displayed on Alphabetical order..But i don't want like this..
Suppose my 3 categories are appearance,Layout,Dynamic Events.. Now it is displaying appearance, Dynamic Events, Layout,
But i want like this appearance,Layout,Dynamic Events..
How can i arrange.. This is the code i will implemented..
<Category("Appearance")> <Description("Indicates how the text should be aligned for the control")> _
Public Property Alignment() As System.Windows.Forms.HorizontalAlignment
Get
[Code]....
i'm making a progam to study,but it has his own save file format. (*.lad)and it get a dirty icon , so i want if i save,or open a file with the progam, the file has his own icon.
View 18 RepliesI have vb.net application , in which i want to add sound to button when click event occures.
View 3 Repliesi have a ClassLibrary and i set some Private Variable like: Private _Test as string and i have to get the value frome Database and set it to my valiable and after that i want to set some function that return it like:
Public Function GetTest() as String
return _Test
end Function
how can i set a value to _Test befor return it?
I want to create a combobox that contains a list of items. I drag and drop a combobox and to the collection property I put the items.My items are all the months(January,February,March...) but i want to give to each item a value from 1-12 and I don't know how...do I have to create the combobox with code to achieve this?
View 10 Replies