20,285 Topics

Member Avatar for
Member Avatar for XF15-Loader

Hello once again. Ive been tasked with writing a program the calculates the number of legos needed to create a pyramid. I have to do this in an array for a specific level ie...level 4 requires 16 legos to complete, as well as the total number of legos to complete …

Member Avatar for Reverend Jim
0
148
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
421
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
42
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
101
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
704
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
201
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
541
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
162
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
60
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
188
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
196
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
179
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
62
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
191
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
74
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
422
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
133
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
52
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
70
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
292
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
91
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
144
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
158
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
58
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
680
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
116
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
325
Member Avatar for crankyslap

I am using the following to send a string to the application on the foreground. But it's no good, as it for some reason only accepts numbers, and letters in uppercase. But I also need to send letters in lowercase, and slashes and backslashes etc. Can anyone help me achieve …

Member Avatar for crankyslap
0
1K
Member Avatar for JukesK

Firstly, Sorry for the long post :) Im currently creating a training database for use within the business (not done many getting used to coding) I used MySQLMaestro to construct the datagrid and have modified it to suit most my needs. however i have one issue that i cant resolve. …

Member Avatar for JukesK
0
274
Member Avatar for juanmikael

HI! I'm currently working on a utility software, file compression, with VB.Net. And using an open source library to compress and decompress files - DotNetZip - and already running. My friend told to make it unique and not traditional, that I make the output compressed files cannot be opened with …

Member Avatar for Teme64
0
234
Member Avatar for Ruchi224

Hello.. I am developing a windows app and i have a form in which i have 2 datagridviews.. dgv1 is the main gridview with checkbox column and when the user checks the box, that row should be visible in dgv3 (other datagridview).. The code i used is : [CODE] Imports …

Member Avatar for Ruchi224
0
187
Member Avatar for sway1101

Hey all, Came across this site while scouring the web for a solution to my problem. All of the answers on here seem very helpful and non judgmental. That is hard to come by in a lot of programming forums, so thanks. My Question. I am using VS 2008 and …

Member Avatar for Unhnd_Exception
0
2K
Member Avatar for noobies

Can anyone help me to do this : Select previous field based on previous field in sql. I had tried a lot of ways but it seems doesn't works. [CODE]Select alert_value , year_id from company_alert where year_id = "2010" and year_id = year_id - 1 group by year_id[/CODE] could anyone …

Member Avatar for adam_k
0
181
Member Avatar for aadi_capri

hello friends, how can i design a region in vb.net form(windows application), such that when i click any point inside a region a new page opens. my problem is that the region which i want to define through it is very complex..its a combination of a rectangle and another shape. …

Member Avatar for Unhnd_Exception
0
282
Member Avatar for AquaNut

Hi All, Been reluctant to drop this on anyone as I wanted to resolve it myself but alas it has got the better of me. I am trying to do an insert into an Access 2007 DB but keep getting a syntax error even thougt I can get the generated …

Member Avatar for Naveed_786
0
302
Member Avatar for sri_Chennai

i have used flash file (SWF) in .net 2003 winforms. some time occured in the following errors "Child is not a child control of this parent" please help me : how to rectified and give to any solution. my Code is : Me.flaRandH = New AxShockwaveFlashObjects.AxShockwaveFlash flaRandH.Movie = Application.StartupPath & …

0
74
Member Avatar for SpeedwayNative

So, my Vb 2010 midterm project is due a 8am (about 2 hours). I have coded almost everything I need. Just before I was about to submit this, I noticed in the instructions that hours needs to be included as well. I have been trying to do this for about …

0
67
Member Avatar for 8mir

' I want to get some idea about my new project I my project take the text from web site to text box and that the code coming like this exam: #DESCRIPTION ---------- 1 ---------- #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #DESCRIPTION ---------- 2 ---------- #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: #SERVICE 1:0:1:1FAD:2454:13E:820000:0:0:0: >>>to end ok …

Member Avatar for lolafuertes
0
202
Member Avatar for violette

hi all! i'm not sure where to post this. i hope i'm posting at the right section. previously i use formula as below; [CODE] Dim total1 As Label = CType(e.Item.FindControl("total1"), Label) total1.Text = e.Item.DataItem("receivable").ToString * 365 / e.Item.DataItem("revenue").ToString[/CODE] note that the 'receivable' and 'revenue' are taken from database(mysql) however,if the …

Member Avatar for violette
0
92
Member Avatar for markdean.expres

Guys I just want to inquire if it's possible to create a program that can lock not only the application but the whole system(PC)? What I want is that, if my application wasn't used within a specified time frame, it will automatically o\lock the whole computer and it can only …

Member Avatar for NetJunkie
0
128
Member Avatar for AndyPants

hello I'm NOT new to vb.net but i have never used a UserControl in the following manner: In need to make a UserControll that can be put in a list of them depending on how many the user chooses and then if there are more than 4 to have a …

Member Avatar for AndyPants
0
190
Member Avatar for johmolan

I have made a crystal report with subreports, In my subreports I have added commands like: SELECT * FROM Orders where orederID = {?orderID} When I run the report in viewer the report prompts for the orderID with a dialogbox. But I have several subreports that requires the same orderID …

Member Avatar for johmolan
0
92
Member Avatar for AndyPants

Hello, i was wondering how would i make a search kind of thing, for example if string1 contains all the words in string2 words. like a search(not just if string1 contains string 2). it should work something like this: If string1 is "an apple" and if string2 is "djsjfsfg apple …

Member Avatar for AndyPants
0
475
Member Avatar for bradz1993

[CODE]Public Class Form1 Private Sub Button1cmdRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1cmdRun.Click ' Variable declaration & initilization Dim hour As Integer Dim minute As Integer Dim second As Integer ' Validation If IsNumeric(txbTotal.Text) And txbTotal.Text Then >= 0 Then ' Total number of seconds Dim totalSeconds As …

Member Avatar for Unhnd_Exception
0
186
Member Avatar for gd740

Hi, i am still a beginner in vb.net, please help me.. My question here is when i input data to a textbox1 and then i press enter using keyboard, then another description will appear in textbox2. For example, i have to key in a company's code: A001 into textbox1, after …

Member Avatar for Mitja Bonca
0
165
Member Avatar for umer jaan

Hello dear i want to Identify filled rectangles in picture given picture in vb .net. Please help me in this matter. please

Member Avatar for umer jaan
0
104

The End.