- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
30 Posted Topics
Hi, Am using VB.NET. I have a search page in one form(Search.vb) and another form(Form1.vb) to display the details of selected data from the search form. I already have back button in Form1.vb which returns to some other form say (Action.vb). In case of searching data it returns to Form1 … | |
Re: Hi, 1. In order to refresh the combobox automatically just call the form_Load() method after adding values to ur combobox, where the combobox gets loaded already in form_Load() method. 2. Or else assign the datasource property of combobox once again and use invalidate method. [CODE] 'refresh the datasource combobox.datasource=?datasource 'select … | |
Hi, I have a requirement where I need to generate the combinations of string based on some rules. For Eg: I have a string like: [x | y] z [A] Possible combinations are, z,ZA,xz,xyz,xzA,yzA The rules are, 1.[],| are symbols. 2.Any text inside [] is optional eg: [x] 3.| means … | |
Hi, I have two forms, Form1, Form2 I need to show form2 first and then add form1 to form2. I did this in program.cs Passing form2 object to form1 in constructor. am assigning the properties of form2 in form1 using the constructor object. static class Program { static void Main() … | |
Hello, I have some 5 picture boxes, and stored the images into imagelist. Now I can able to load 5 picture boxes with first five images from imagelist. I have two buttons previous and next. I got stuck with this, please help On click of next button, it should hide … | |
Hi, I have a requirement to save images from local system to server through windows application using c#.net. How can I do this in windows application? | |
Hi Using VB.NET I created an excel sheet with list of items in dropdownlist. Using the below code With xlWorksheet.Range("A2", "A101").Validation .Add(Type:=Microsoft.Office.Interop.Excel.XlDVType.xlValidateList, AlertStyle:=Microsoft.Office.Interop.Excel.XlDVAlertStyle.xlValidAlertStop, Operator:=Microsoft.Office.Interop.Excel.XlFormatConditionOperator.xlBetween, Formula1:=[COLOR="Red"]"Construct,Testing,Review,Look Ahead Meetings,Process Audit,Process Improvement,Project Monitoring and control,Project Planning,Project Setup,Project Team Management,RCA Activities,Re-Estimation,Review,Review-Rework,Senior Management Reviews, Testing,Testing Rework,Training, Work Product Audit"[/COLOR]) End With But i can able … | |
Hi, I am writing code for connecting to an access database in my windows 7 machine. Am using visual studio 2010 with access 2007. While debugging the code am getting the exception **"The 'Microsoft.Jet.OLEDB.4,0' provider is not registered on the local machine"**. Below is my code, Try connection = New … | |
Hi, My Application was developed using c#.NET with java web services to connect to oracle database. It is working fine with my windows XP machine, but when i deployed the same app in another win7 machine by just cpoying the release folder with dll and exe files and launched the … | |
Hi all, I got the error in design window "Object reference not set to an instance of an object." Instances of this error occurs at two cs files one.cs value = UIHelperConfig.GetSelectedPaymentTypeCode("CreditCard"); two.cs public static string GetSelectedPaymentTypeCode(string paymentType) { return ConfigurationManager.AppSettings.GetValues(paymentType)[0]; } How to make my design window viewable?? Any … | |
Hi, I have c# Application running in my desktop(Windows XP) with Java web services and oracle DB . The Application includes a shipping screen which has a calendar window. When I run the application in my desktop it works fine. Client uses the same application. We access it through CITRIX … | |
Jobs are running in server continuously for feeding purpose and it is being monitored on web health monitor. It contains job name, Server, last run, time since last ran. Below are the cases, If the last run>time since last run the jobs are running fine. If the last run<time since … | |
Hi, I have an c# application works with oracle database communicates through java web service. In windows XP it works fine with calendar, but with Windows Server 2008 R2 Service Pack 1 it does not work instead it shows some error(the same application is used in both the environment). I … | |
Re: Hi, You added combobox to each row of grid view? or its common for the Datagridview? | |
Re: Hi, Here u can use the [B]DataGridView control[/B] to view the added details, and write codings in add button event. When it gets added to gridview clear the input boxes using clear method. Example [CODE]textbox1.clear()[/CODE] :) | |
Re: Hi, Just google VB.NET Tutorial and get the links. | |
Hi, In my project there is a need to take screenshot and save it to word file automatically. Existing System: [LIST] [*]Open the website where log in exists for different resources. [*]Login for every resource and take a screen shot of their page and paste it to word file. Save … | |
Re: Hi I got error message with this code "Failure Sending Mail" with SMTP Excxeption. | |
Hi, Can anyone help me about hiding gridlines in excel sheet using VB.NET. I need to hide gridlines while exporting to excel from VB.NET. Thanks. | |
Re: Hi, Just select the data from ur database and make it as a datasoure to gridview. There is no need of DataGridView1(1, 1).Value = (acsdr("Login_Username")). Use the below format, [CODE] Dim ConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=dbname.mdb" Dim SQLString As String = "SELECT * FROM tablename" Dim OleDBConn1 As System.Data.OleDb.OleDbConnection … | |
Re: Hi, Do you want to restrict the spaces in text Box? If so use the below code [code] Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If e.KeyCode = Keys.Space Then e.SuppressKeyPress = True End If End Sub Private Sub TextBox1_KeyUp(ByVal sender As System.Object, ByVal e … | |
Hi, I want to save the gridview values of one form while leaving that particular form using VB.NET. I did this in case of textbox and combobox values by using Savesetting and getsetting property. Thanks if any help... | |
Re: Hi, Try with this, Private Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button.Click Dim i, j As Integer i = ListBox1.Items.Count() For j = 0 To i - 1 ListBox2.Items.Add(ListBox1.Items(j)) Next j ListBox1.Items.Clear() End Sub | |
Hi, I needed to create in-cell dropdownlist in excel using VB.NET, So i used the code, With xlWorksheet.Range("H2", "H101").Validation .Add(Type:=Microsoft.Office.Interop.Excel.XlDVType.xlValidateList, AlertStyle:=Microsoft.Office.Interop.Excel.XlDVAlertStyle.xlValidAlertStop, Operator:=Microsoft.Office.Interop.Excel.XlFormatConditionOperator.xlBetween, Formula1:="Maintenance Planning") End With It works fine with Excel 2003, but it does not works on Excel 2007. It shows below message, Excel was able to open the … | |
Hi, I cant able to save an excel file from VB.NET. I used the code below: SaveFileDialog1.Title = "Save Excel File" SaveFileDialog1.Filter = "Excel files (*.xls)|*.xls|Excel Files (*.xlsx)|*.xslx" SaveFileDialog1.ShowDialog() If (SaveFileDialog1.FileName <> "") Then [COLOR="Red"]xlWorksheet.SaveAs(SaveFileDialog1.FileName)[/COLOR] End If Error occurred in the highlighted line as "Exception from HRESULT: 0x800401A8". I cannot … | |
Hi, Am using Visual studio 2005 with MS Access. I have a Datagridview with a date column in format 11/23/2011(Month/Date/Year). Now i want to know how 'search criteria based on particular month and date'. For Example if select 'Nov' as a month from combobox and click on search button, only … | |
Re: Hi, Its very simple, For Example, Now i want to move the data from gridview to textbox, which may or may not be null value. In case if its a null value follow the below code: Textbox1.text=DataGridview1.currentrow.cells(1).value But this will return an error "Cannot convert null value to string" So … | |
Am using VB.NET with Ms Access. It worked fine before changing the field name in access database. After changing the field name i got an syntax error in catch block. And also there is no reserved words. [B]"Syntax Error in INSERT INTO Statement"[/B] Here is my coding str = "Insert … | |
Hi, I have developed a VB.NET Application with backend MS Access. Now I want to install on the user's machine, so i deployed the setup project. I need to know how can i create a desktop shortcut for my VB.NET Application. If I just copy and paste the filename.exe file … | |
I have created a .NET windows based application in c#. Find the attached screenshot of my application. Java web service is already created and maintained. Now I want to send the values from windows application grid view to java web service. Is this possible? If so how? Am newbie to … |
The End.