Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

ramaseb

@ramaseb
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Any body master in Datagrid please Help me...
    R ramaseb

    Hi.. I assume that your datagrid has a datasource / datamember one table from a dataset. if you add a new row to your table then the grid will show the new row as empty textboxes example 'we asume that you have already a dataset ( named dataset1 ) and in the dataset is a table ( named table1 ). private sub addrow Dim newrow As DataRow newrow = DataSet1.Tables("table1").NewRow DataSet1.Tables("table1").Rows.Add(newrow) end sub this sub adds a row to your table and this row must be shown in the binded datagrid as empty textboxes. Hope i helped you. Ramaseb.

    Visual Basic help css tutorial

  • Form Index
    R ramaseb

    Hi.. some more info. When you set in project properties the "start-up object”, setting so the first form as a start-up form, behind the scenes the Visual Studio adds a sub Main to your form. The sub Main is the entry point for your application. If you declare this sub Main in the startup form , you can put any code in this sub and control the start up behaviour of your application. Try to search the help for the sub main, and see what you can do there. Hope i helped you. Ramaseb.

    Visual Basic question database adobe help tutorial

  • importing dll's
    R ramaseb

    Hi.. are tou sure that the dll "exports" the function?? Ramaseb.

    Visual Basic csharp help visual-studio debugging

  • Response.Redirect Query Strings
    R ramaseb

    I hope that i had undestund what you want. See this example , the idea is that the user selects from the droplist ( here a set the autopostbask to true ) and i pass the selected item text to the label. When the user press the button "go" te program checks the drop down selected item index and redirects the user to the coresponding page. Hope i helped you Ramaseb --------------------------------------- Public Class WebForm1 Inherits System.Web.UI.Page #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. Private Sub InitializeComponent() End Sub Protected WithEvents Drop1 As System.Web.UI.WebControls.DropDownList Protected WithEvents Label1 As System.Web.UI.WebControls.Label Protected WithEvents Button1 As System.Web.UI.WebControls.Button 'NOTE: The following placeholder declaration is required by the Web Form Designer. 'Do not delete or move it. Private designerPlaceholderDeclaration As System.Object Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. InitializeComponent() End Sub #End Region Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here If Not Page.IsPostBack Then Drop1.Items.Clear() Drop1.Items.Add("page 1") Drop1.Items.Add("page 2") Drop1.Items.Add("page 3") End If End Sub Private Sub Drop1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Drop1.SelectedIndexChanged Label1.Text = Drop1.SelectedItem.Text End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Select Case Drop1.SelectedIndex Case 0 Response.Redirect("mypage1.aspx") Case 1 Response.Redirect("mypage2.aspx") Case 2 Response.Redirect("mypage3.aspx") End Select End Sub End Class Ramaseb.

    Visual Basic database visual-studio tutorial question

  • Embedded OLE objects in VB .NET ?
    R ramaseb

    Hi.. have you used the new stuff from OFFICE 2003 , ( the new object model and the native .net support ) !! you can find some info at msdn.microsoft.com or http://msdn.microsoft.com/office/understanding/officesystem/codesamples/default.aspx?pull=/msdnmag/issues/03/09/microsoftoffice2003/toc.asp Hope I helped you.. Ramaseb Ramaseb.

    Visual Basic csharp com graphics hardware help

  • Calling a javascript function from vb.net every time pages loads is it possible
    R ramaseb

    Hi ... in the code below this javascript must be runing every time the page is loaded ( i think ..) /* other page stuff here */ /*Current date script credit: JavaScript Kit (www.javascriptkit.com) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") var montharray=new Array("January","February","March","April","Mai","June","July","August","September","October","November","December") document.write("<div style ='position: absolute; left:8; bottom:10' ><small><font face='Times New Roman'>"+dayarray[day]+" "+daym+" "+montharray[month]+" "+year+"</font></small></div>") as you understand the script runs and writes something in the page ( i thing the date info ) Maybe if you use the same aproach as the example you can do that you want. Hope i helped you Ramaseb. Ramaseb.

    Visual Basic question csharp javascript html

  • Please Help Me
    R ramaseb

    Hi mohan_balal For Q1. if you mean the RDO for data access , that visual basic 6 and prior uses , i think that is for 32 bit systems ( WINDOWS 95 , 98 , NT , 2000 , XP ) , but im not sure that RDO plays with 64bit windows. For Q2. the answers are related with "variables" but for different reasons. a) you can declare a variable in a procedure or function or inside a code block in a procedure or a function and this variable called "local" b-c) Impicit , Explicit , hmmmm... this is "instructions" to the compiler ( and /or refers to conversion from one type to other ) tell the behaviour about when you try to give a value from a variable to another variable that isnt excacty the same type, or use a variable in a procedure,function or method or property call that isnt actual the same type as in the definitions of all those ( general speaking ). d) Private. In a class definition you can give a "visibility" to members functions or variables . an examble ..... class aaaa private var1 as string public var2 as string private sub sub1 end sub public sub sub2 end sub end class ..... when you later in your rest code you use an object of type aaaa you can refer only to var2 and sub2 because are the only visible outside of the class !! the "word" private "hides" the var1 and var2 from outside the class/object I Hope I helped you .... Ramaseb Ramaseb.

    Visual Basic help

  • FOXPRO TABLES
    R ramaseb

    Hello .. Please can anyboddy help me to this problems?? I'm trying to use foxpro tables ( !! ) with foxpro oledb provider. My first problem is that Visual Studio cannot understand key columns so , no update and delete statements are produced for data adapters. I bypass this problem by "copying" the table to a sql database , set the key collumns , create an oledb data adapter to sql database/table ( everything created ok !!) and then change the connection string to foxpro ole db provider !! My second problem is that when i try to issue a foxpro command like "append from file delimited" i get a message for "errors during processing command" and nothing is loaded to the table !! Other commands like PACK table , or DELETE ALL FROM TABLE , are working fine !! The same delimited file is processed with out errors inside the foxpro 9 ( beta ) environment. Any suggestions...?? Thank's , and i'am sorry for my terrible english. :confused: Ramaseb.

    Visual Basic database help csharp visual-studio com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups