20,285 Topics
![]() | |
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 … | |
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 … ![]() | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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. … ![]() | |
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 … | |
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 & … | |
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 … | |
' 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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … ![]() | |
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 … | |
Hello dear i want to Identify filled rectangles in picture given picture in vb .net. Please help me in this matter. please |
The End.