20,284 Topics
| |
Below you will find a code sample that I have dummied up to try and demonstrate the issue I am having. However, this is just a dummied up piece of code. The actual program has noting to do with [B]STUDENTS[/B] or [B]TEACHERS[/B]. This was just my way of trying to … | |
[B]CS0029: Cannot implicitly convert type 'string' to 'string[]' THIS IS MY ERROR..[/B] [COLOR="Green"]string[] names = context.Request["names"]; in this LINE[/COLOR] please help me The Language that i Used is c# .... | |
Hi guys, I am drawing a table in richtextbox with border in cell . Now i want it without border and text align is center. Here is my rtf string [CODE]{\rtf1\ansi \par \trowd \trql\trgaph108\trrh280\trleft36\clbrdrt\brdrth \brdrdb\clbrdrb\brdrdb \clbrdrr\brdrdb \cellx9600 \clbrdrt\brdrth \clbrdrl\brdrdb \clbrdrb\brdrdb \clbrdrr\brdrdb \pard \intbl Hello Bhagawat \row\pard\par}[/CODE] can anybody help me … | |
visual studio 2010 (vb.net window forms) access 2010 database multiple forms tab controls (2 tabs) groupboxes I have a BindingSource bound to a single row of a dataset.table The question is how to call and check the information of a single cell the cells are bound to textbox.text however on … | |
Hi, How do i write to xml format for the below data. This is sample parsing data that i need to save in xml format. Please guide me ! [CODE]<field id="0" value="0210"/> <field id="2" value="00"/> <field id="3" value="320000"/> <field id="4" value="000000068519"/> <field id="5" value="000000000000"/> <field id="7" value="5465464545"/> <field id="11" value="000021"/> … | |
Hi, I have a simple query but im just not able to get it right. Have a look at my sample code below [CODE] Sub Function1 My Code Here Function2(Year,Month) End Sub Sub Function2(Year,Month) Dim Str as String() for 1 to 30 Dim MyDate As New Date(Year, Month, i) Str … | |
how to minimize child form inside of parent mdi form in vb.net...? I change the property of "IsMdiContainer" to "True". but when i minimize parent mdi form, it is not minimize the child form... Please help me. Regards Pra$ad. | |
I want to modify the shapes and graphics in a picturebox, like what you do in paint. How can I select the drawn graphic and then modify in size,color ,... Is there any property to use there ? thanks,:) | |
hello guys! we have a big problem in our database. When we input values, and retrieve them in forms, we can see them. but when we look directly into our database, we can't see it. What is the possible problem? here is our codes to add values. [CODE] Private Sub … | |
I am looking for the a simplest for of code where I can add some items to a listview. i have 4 text boxes and 4 columns in a listview.. what could be the code to put 4 values as a single row in list view.. i managed to put … | |
i am having attachments you can see the image when ever i move to mouse on Forms to Buttons so buttons shape is changed but its not clicked on form when you click the button from mouse so its not clicked it can cliked with only keyboard what its occur … | |
I am coding a .cs file for a page that is linked to a login page. The login is in aspx.vb and I don't know how to code in vb. I do however, know how to use C# and I found out I can use .aspx.cs to more easily link … | |
Hi, Please help me how to pass value from database to a variable. This is my query: [CODE] Dim it As String = "Mouse" Dim itNo As String SELECT * FROM tblITEquipmentName WHERE equipmentName LIKE '" & it & "%'" [/CODE] I would like to get the ItEquipmentNo and pass … | |
Hey all (who see this), I am currently writing a Login Script, and I am having trouble making StreamReader read a specific line in a text file. This is what I have so far (not the entire script, just the reader lines): [CODE] Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) Dim … | |
Can someone help me convert my .cs file to aspx.cs I thought I could just put my same cs code into this file that would open a webpage but apparently things are different. I need this because I have a login file that has three options for the user, the … | |
OK sorry if this has already been asked, but i need help with jquery found out a php generator i've been using to develop a website for work actually codes in Jquery... *go figure* i have a data grid that has a column count in the footer of the grid … | |
I want You to ask for a help. how to adapt this VB.NET code to Visual Basic 6 ? [CODE] Imports System.Collections.Generic Imports System.IO Imports System.Net Namespace blogtest Class Program Private Shared Sub Main(args As String()) Dim http As New simplehttp() ‘testing on ipcheckit.com so we can make sure we’re … | |
Hi need help with regards to deducting from customers purchases. The fields look like this: tblStocks: Name Type Qty Pencil 2 15 Pen G-Tech 5 When the customer would purchase 2 pencils, the datagrid field qty would be 13..Does anyone here know how to do this? | |
Purpose: Use selected one or multiple currencies then from this, browsers open up simultaneously and auto refresh, so as to see changing currency rates I have created an app, Which using a listbox and a button creates a copy of the set form and passes a url through to the … | |
Dear All, I want to print a crystal report on which the contents are displayed on first page(which i already have don) and the Instruction always should displayed on second page how can i do this???? Please help me | |
hi, i'm new to vb.net.is it possible to link item in drop down list to image? for example if i click "computer" in the drop down list, the image of the computer will appear. sorry if my question sounds silly. i'm really a newbie in vb.thanks for ur help. | |
[CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim asm As String asm = ComboBox2.Text cmdOLEDB.CommandText = "SELECT * FROM sale " cmdOLEDB.Connection = cnnOLEDB Dim ab = DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss") Dim dr = cmdOLEDB.ExecuteReader Do While dr.Read v1 = dr.Item("NAME") If (asm = v1) Then pa … | |
Hey guys, I have this error when i try to run any project created in VS 2008. "Error while trying to run project: Could not load file or assembly 'projectname' or one of its dependancies. The module was expected to contain an assembly manifest." I suspect to be a VS … | |
alright iam working on a microwave app its very important anyways ill give up what code ive got soo far and such but when i try to run it i get this error message : Visual Studio cannot start debugging because the debug target Microwave.exe is missing Please build the … | |
I have a REPORT WITH 10 SUBREPORTS, I have 2 Parameters in the main report and links the subreports to these parameters. my code looks like this: [CODE] Imports System.Data.SqlClient Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Imports System.Configuration Public Class CR Public Sname As String Public Dbname As String Public Uname As … | |
Hey guys, I thought getting yesterday's date was now() - 1 but visual studio is giving me error saying '-' is not the right operator. I think now() - 1 was used in VB6. whats the correct way of obtaining yesterday date? | |
here's my code; [CODE]SELECT b.alert_id,cur.stock_code, current_name,d.board_name,cur.year_id, cur.period_id,cur.fixed_assets, prev.year_id AS prev_year_id,prev.period_id AS prev_period_id, prev.fixed_assets AS prev_fixed_assets, (cur.fixed_assets*100/prev.fixed_assets) AS "total1", c.para1 FROM company_financial AS cur LEFT JOIN company_info a ON (a.stock_code=cur.stock_code) LEFT JOIN company_alert b ON (b.year_id=cur.year_id) LEFT JOIN ref_alert_parameter c ON (c.alert_id=b.alert_id) LEFT JOIN ref_board d ON (d.board_code=a.board_code) LEFT JOIN ref_sector … | |
How can i set a fixed height detail section in crystal reports regardless of record count. I set the height of detail section to 10 records. If i put 8 records, the space for other 2 records should be white space. That is, total height remain the same. Please help … | |
Hi, I have a StatusStrip and is filled with Year in the format say "June2009 - May2010". I want to get the years from this string like 2009,2010 from the above string. Please suggest how can i do this. I have tried this but not able to further separate June2009. … | |
Need help with this. Write a program that asks the user to enter today's sales for five stores. The program should then display a bar graph comparing each store's sales. Create each bar in the bar graph displaying a row of asterisks. Each asterisks should represent $100 of sales. Her … |
The End.