20,284 Topics

Member Avatar for
Member Avatar for MB1711

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 …

Member Avatar for MB1711
0
419
Member Avatar for breaker14

[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# ....

Member Avatar for stbuchok
0
40
Member Avatar for bhagawatshinde

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 …

Member Avatar for bhagawatshinde
0
99
Member Avatar for Dmennite

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 …

Member Avatar for Dmennite
0
702
Member Avatar for swathys

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"/> …

Member Avatar for swathys
0
197
Member Avatar for Ehtesham Siddiq

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 …

Member Avatar for Mitja Bonca
0
539
Member Avatar for weeraa

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.

Member Avatar for Netcode
0
159
Member Avatar for MeSam0804

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,:)

0
58
Member Avatar for mitchiexlolz

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 …

Member Avatar for Mariandi
0
182
Member Avatar for bilal_fazlani

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 …

Member Avatar for Reverend Jim
0
193
Member Avatar for Mubusher

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 …

Member Avatar for Mubusher
0
177
Member Avatar for compulove

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 …

0
60
Member Avatar for khentz

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 …

Member Avatar for khentz
0
9K
Member Avatar for RedexProGamma

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 …

Member Avatar for RedexProGamma
0
189
Member Avatar for compulove

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 …

Member Avatar for compulove
0
2K
Member Avatar for JukesK

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 …

0
72
Member Avatar for alone882

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 …

Member Avatar for hkdani
0
419
Member Avatar for bettybarnes

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?

Member Avatar for adam_k
0
128
Member Avatar for ihave1245

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 …

0
50
Member Avatar for Naveed_786

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

0
68
Member Avatar for tenshi

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.

Member Avatar for tenshi
0
288
Member Avatar for chand3476

[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 …

Member Avatar for Pgmer
0
89
Member Avatar for jeoff

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 …

Member Avatar for jeoff
0
142
Member Avatar for moparman426

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 …

Member Avatar for Reverend Jim
0
155
Member Avatar for johmolan

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 …

0
56
Member Avatar for bluehangook629

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?

Member Avatar for bluehangook629
0
670
Member Avatar for violette

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 …

Member Avatar for adam_k
0
113
Member Avatar for adonweb

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 …

Member Avatar for wsfaso
1
3K
Member Avatar for Ehtesham Siddiq

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. …

Member Avatar for Pgmer
0
4K
Member Avatar for waqqarazeem

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 …

Member Avatar for Unhnd_Exception
0
313

The End.