|
Most frustrating. The format of the website cannot be changed:
I have 5 web pages each with a form. These page forms have content the user can edit & redit.On the top of each page is a menu bar affording the user to toggle back and forth to any of the 5 pages viewing the respective content. Now say the user toggles to page 2, makes changes to the content, via a RadEditor, toggles to page 5, then retoggles to page 2 to see the changes he just made.
Here's the delema: During these edits/redits, the revised content CANNOT be posted as an update to the database. Only AFTER the user is satisfied with all the edits made, does he click button 6 for "Update All My Changes".
I cannot have one page with all the form elements listed via visible/not visible panels. I cannot use session objects, or cookies - there is just too much data. I heard about the cache object / application object but I do not know if it plays a part here. Also note there could be thousands of concurrent users taking this initially identical data content then editing it to each's own unique wants.
So in short, how can I have several editable web pages of form elements that allow the user to see the changes they made, even after clicking off and then back to that form without using a database update or items mentioned above. Remember, They will not let me hit the database until aff the edits on the 5 web page forms are complete. Thanks.
Update:
I have reevaluated the entire process.
I've decided to utilize the file stream object and have them edit their entire page.
Now, I have to figure out how to reiterate thru these modified forms to place the data into the db.
modified on Tuesday, February 26, 2008 4:38 PM
|
|
|
|
|
The only other option I can see, is using cross page postbacks to simulate having all the pages as controls on one page. In other words, writing a ton of code, which will be more error prone, to simulate doing what I've been telling you to do for days. Why can't you put it all on one page ? It seems to me like you're screwed, because you're looking for a magic solution, and rejecting every viable solution you've been offered.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have reevaluated the entire process.
I've decided to utilize the file stream object and have them edit their entire page.
Now, I have to figure out how to reiterate thru these modified forms to place the data into the db.
|
|
|
|
|
I need help find good resource material for programming in vb.net on the .net compact framework. I have project to create an inventory application on a pocket pc device. They use Microsoft Access to save their data. So far, I have found no information that shows if and how this can be done. The articles I have found on CP don't go into data access. May I haven't searched long enough.
Is it possible to access data from this device to Microsoft Access? Does anyone know I can get some step by step instructions?
Thank you
|
|
|
|
|
Hello,
The link below describes how to use Pocket Access:
http://msdn2.microsoft.com/en-us/library/ms837914.aspx
Regards,
Dave
Dave Traister
Software Engineer
ComponentOne LLC
www.ComponentOne.com
|
|
|
|
|
Hi forum members ,
I want to write a VB code that read .pst(outlook) file
can any help me in that ?
should I convert the file in other extension first, or I can read it directly?
Regards,
mesho
|
|
|
|
|
You might wanna have a look at MAPI function.
|
|
|
|
|
thank you killerp very much
|
|
|
|
|
hi all,
i am not too much familier with registry programming. I want to simply create a key under any Root key as follows
dim regKey as RegisteryKey<br />
regKey = Registry.LocalMachine.CreateSubKey("testKey", RegistryKeyPermissionCheck.Default)<br />
regKey .Close()<br /> above code is too simple but it give error "The parameter is incorrect".
Please suggest me where I am wrong ?
Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)
My Company
|
|
|
|
|
You're not allowed, by Windows, to create subkeys directly under HKEY_LOCAL_MACHINE. You have to create them in a subkey of the root key. Even then, you're limited to where you can do that.
Since you're new to this and don't really know what you're doing, I'd suggest doing your experimentation under HKEY_CURRENT_USER\Software\ instead. You'll minimize the damage you can do if you screw up.
|
|
|
|
|
Hello!
Does anyone know if it's possible to dynamically create Collections in VB6?
I wanted to dynamically create as many Collections as the user needs/wants.
Just like TextBox1(0), TextBox1(1), and so on.
Is it possible?
Regards
|
|
|
|
|
yes.
Dim x(13) As New Collection
x(1).Add "1,1"
x(1).Add "1,2"
x(2).Add "2,1"
x(3).Add "3,1"
Debug.Print x(1).Item(1)
Debug.Print x(3).Item(1)
it´s also possible to do this dynamically:
Dim x() As New Collection
ReDim x(13)
x(1).Add "1,1"
x(1).Add "1,2"
x(2).Add "2,1"
x(3).Add "3,1"
ReDim Preserve x(17)
x(17).Add "17,1"
Debug.Print x(1).Item(1)
Debug.Print x(17).Item(1)
|
|
|
|
|
Hi Thomas,
Thank you very much!
I declared in a module
Public m_Collection() As Collection
And in my form: (i needed to "Set" in order to work)
Private Sub Command1_Click()<br />
For i = 0 To 13<br />
Set m_Collection(i) = New Collection<br />
m_Collection(i).Add "1234"<br />
Next i<br />
End Sub
It work perfectly
Thanks!
Best Regards!!
|
|
|
|
|
Or simple way of doing it is, Changing Index to 0 for the component in Properties Window.
For Example,
Add & Select Text1, and goto Properties and in Index type 0.
Now when you want to create new one's just use following code, it's much simple.
<br />
Private Sub LoadTextBox()<br />
'Get the number of Textbox User wants or needs<br />
Dim itext As Integer<br />
itext = InputBox("Enter how many text box you want")<br />
<br />
'Now let's create and show them on form<br />
<br />
Dim i As Integer<br />
For i = 1 To itext<br />
Load Text1(i)<br />
Text1(i).Visible = True<br />
'the lines below show new created textbox rightBelow eachother, like Table<br />
Text1(i).Left = Text1(0).Left<br />
Text1(i).Top = Text1(i - 1).Top + Text1(i - 1).Height<br />
Next i<br />
<br />
<br />
End Sub<br />
Hope it helps...
|
|
|
|
|
Hi!
Thank you very much for replying!
Best Regards
|
|
|
|
|
Hi
to all
Please suggest me somthing how can i
edit the datagridview with populating combobox
Thanks in advance.
|
|
|
|
|
|
hi guys
i want to display a form before my application start,
i am writing code in the application events,
Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean
Dim sfrm As New sp
sp.Show()
Return MyBase.OnInitialize(commandLineArgs)
End Function
problem is that controls of the sfrm are not shown ,, why ?
thanks in advance
hello
|
|
|
|
|
You are calling show, when you need to call ShowDialog, to show the form so that your app stops and waits for the form to close
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If you are displaying this screen simply as a splash, and if you are coding in VB, you can specify a Splash Screen in the Project Properties screen in the Application area. I do not believe this is available for C# though. Then you don't have to worry about this code at all, it will be handled for you.
Hope this helps.
|
|
|
|
|
I have problem with this Code
I want to display stopwath in the textbox with format "h:m", but it cannot run....!
Any body can make this Code perfect...?
Dim timePerParse As Stopwatch<br />
Dim jam1 As String<br />
stp = Stopwatch.StartNew<br />
jam1 = Format(timePerParse, "h:m").ToString<br />
Me.TextBox2.Text = jam1
Thanks at all
Best Regards,
Ahmad Rifai Yusuf
|
|
|
|
|
Ahmad Rifai Yusuf wrote: Dim timePerParse As Stopwatch
You haven't instantiated StopWatch class. Read the documentation[^]
|
|
|
|
|
I need to get the contents of a certain column of a list view from a form and put the contents of that column in the database.
How do I get the contents of a particular column of a list view?
|
|
|
|
|
Hello,
You cannot retrieve an item from the ListView using Column collection. You have to be specific
to a row or the ListViewItem. Each row is a ListViewItem with the values in each column as
subitem.
Try this line of code:
Msgbox(Me.ListView1.Items(0).SubItems(1).Text)
In the above code, Items is each row, and SubItems is each column value.
I hope this helps.
Regards,
Allen
Allen Smith
Software Engineer
ComponentOne LLC
www.componentone.com
|
|
|
|
|
How do I get the row value when the user selects the row from the list view?
|
|
|
|