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
K

kutz9

@kutz9
About
Posts
13
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with databound combobox
    K kutz9

    Hi all, I am having a problem with a databound combobox in that when I save the record (ie, end current edit,update the database and accept the changes) the combobox resets its value back to the first object in the list. Anyone else experienced this problem before? My code for saving goes something like this. 'MsgBox("Record Saved") 'Create a new dataset to hold the changes that have been made to the main dataset. Dim objDataSetChanges As Buckner_Intranet.dsNCR = New Buckner_Intranet.dsNCR 'Stop any current edits. Me.BindingContext(DsNCR1, "NCR").EndCurrentEdit() Me.BindingContext(Me.DsNCR1, "Responses").EndCurrentEdit() 'Get the changes that have been made to the main dataset. objDataSetChanges = CType(DsNCR1.GetChanges, Buckner_Intranet.dsNCR) 'Check to see if any changes have been made. If (Not (objDataSetChanges) Is Nothing) Then Try Me.BindingContext(Me.DsNCR1, "NCR").EndCurrentEdit() Me.BindingContext(Me.DsNCR1, "Responses").EndCurrentEdit() daNCR.Update(Me.DsNCR1, "NCR") daResponses.Update(Me.DsNCR1, "Responses") Catch eUpdate As System.Exception MsgBox(eUpdate.Message) End Try 'Commit the changes that were just merged 'This moves any rows marked as updated, inserted or changed to being marked as original values DsNCR1.AcceptChanges() End If Cheers for any help you might be able to offer. Kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic help database question announcement

  • A string problem..
    K kutz9

    Monisankar wrote: Actually i am doing a program in JSFL(Flash Javascript).So i posted the thread here and it's a basic problem. Suppose, string = 'welcome to moni\'s homepage' var i = string.indexOf("\'"); var j = string.indexOf("\'",j); valueOfString = string.substring(i+1, j); now valueOfString is welcome to moni but i need to return it as welcome to moni's homepage. What should i do?Thanks As said, in the previous reply to your question you either need a replace method, or you need to add on the end of the string to the current one. Ie. valueOfString = string.substring(i+1,j) + string.substring(j+1,stringLength) I don't know what the string length function in JSFL though... _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Web Development javascript adobe help question

  • Posting data automatically
    K kutz9

    Cheers mate for the info. _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Web Development help question

  • ASP Session Variables Lost IIS 6.0
    K kutz9

    Howdy, I have found this also at times with certain applications. What I have found is that if a redirect is done the variables are lost. When I have changed my url's to anchor exactly where they are destined to go, my variables have remained. Strange, I know. Let me know if this helps, Kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Web Development help com sysadmin windows-admin

  • help in datasets in dreamweaver mx
    K kutz9

    What you can do is to create a repeated region which loops through the dataset adding the appropriate code. Go to Insert -> Application Objects - > Repeating region. You can set the number of repeats for this region. Also, you can set a datasource for it. This means that each time the region repeats it will navigate to the next row in your table. Will look similar to below Ie ASP:Repeater runat="server" DataSource='<%# MyDsTable.DefaultView %> Within this region, place the code that you'd like to see repeated. Ie. <%# MyDsTable.FieldValue("Field1", Container) %> <%# MyDsTable.FieldValue("Field2", Container) %> This will create a new row for your table for each record in the dataset for however many times you repeat that region. Make sense? _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Web Development question database help workspace

  • Posting data automatically
    K kutz9

    Ok... I'm silly. Don't worry. I believe the answer is to use javascript. Ie. Document.formName.submit(); Cheers for reading, if, indeed, you're reading this. Adios, Kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Web Development help question

  • Posting data automatically
    K kutz9

    Howdy all. Something that should be incredibly simple I would appreciate some help with. How do you use the Post method to send data to an asp page without building a form, setting field values and requiring the user to click on a button? In fact, the only thing that needs to be different from the normal idea of using the "POST" method is that the user shouldn't need to click a button, it should be clicked automatically. Does this make sense? Can anyone help sort me out? Cheers all, Kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Web Development help question

  • Raising a keypress event without pressing a key
    K kutz9

    Cheers for your help, Robert. I'm not 100% on how to use FindWindowEx just yet, but a little net research will probably clear that up. I get the general idea, but how to use some of the parameters will take a bit more thinking. Cheers mate, kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic tutorial help

  • Raising a keypress event without pressing a key
    K kutz9

    Sorry mate, but your comment doesn't help me at all. I found it a little hard to understand actually. It's not about catching or handling an event, but simulating a user's keytouch. This is because there is no way to open a dateTimePicker's calendar dropdown from code (or at least none that I can find) so in order to make it appear, you could raise a keypress event which would then be automatically handled by the control and make the calendar appear. Is this any clearer? _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic tutorial help

  • Can you tell me How many rows datagrid contain ! Pls
    K kutz9

    Well, a datagrid is simply a container to show the contents of a dataset, so the limit will be the dataset. And I don't think datasets have a theoretical size limit. _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic

  • Can you tell me How many rows datagrid contain ! Pls
    K kutz9

    Well I'm pretty sure that there's no theoretical limit to the sizes of any of these structures, it just depends on how the rest of your application can handle the sheer processing requirements. Anyone else know more? Regards, Kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic

  • Can you tell me How many rows datagrid contain ! Pls
    K kutz9

    Theoretically it's an infinite number, I believe. Theoretically it's an infinite number, I believe. Theoretically it's an infinite number, I believe. Of course this will all depend on the resources available to your computer. If you run out of memory, your variable obviously isn't going to get any bigger... Why do you ask? _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic

  • Raising a keypress event without pressing a key
    K kutz9

    Greetings, As indicated in the title I am trying to work out how to raise a keypress event in code, something I cannot find an article or tutorial on anywhere!! Which, to me, would be counter-inuitive as it would seem to be incredibly simple. Any help would be greatly appreciated. Regards, Kutz _____________________ Don't take out the Magic Pen, Don't draw on the Infinity Board - Neil Young

    Visual Basic tutorial help
  • Login

  • Don't have an account? Register

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