lolafuertes 145 Master Poster

You need to read each row in the table, then decrypt the password field.

You can do it by using a data adapter to fill a datatable, then using a foreach loop analyze each row in the datatable, decrypt the password and update the datatable row.

Finally, use the datatable as datasource for your datagrid.

Hope this helps

lolafuertes 145 Master Poster

I will suggest to do the following to read the line:

if (sr.Peek() > -1) 
   {
       lblhighscore.Text = sr.ReadLine();
   }

This will test if there is some thing to read before launhing the read line function.

Hope this helps

lolafuertes 145 Master Poster

ciphertext = Encrypt(txtEmailPass.Text)

Wich encrypt function are you using? Is written by your self? or is some of the predefined System.Security.Cryptography? Which one?

Did you already read this?

Let us know

lolafuertes 145 Master Poster

Find info here

Usually this is located under %WINDIR%\System32 folder. If found elsewhere, then probably is a virus.

I'll suggest to run a full disc scan booting from a clean OS.

Hope this helps

lolafuertes 145 Master Poster

On this page, there is the following info:

Replication Modes

MySQL Replication is asynchronous and enables data to be replicated from one MySQL Master to one or more MySQL Slaves. Plus, MySQL Replication supports multiple logging types to optimize performance for each of the types of updates made to the database.
Row Based Replication - Individual rows are replicated, rather than SQL statements, which is most appropriate when updates affect only a few rows. Fewer locks are needed which allows higher database concurrency.
Statement Based Replication - SQL statements are replicated, rather than the actual data being updated. For updates that affect many rows, Statement Based Replication results in less data being logged.
Mixed Format Replication - MySQL can dynamically change between the replication formats discussed above in real-time, according to the event being logged

Maybe you need to log in to see this info (I needed)

Hope this helps

lolafuertes 145 Master Poster

The MySQL Enterprise edition supoports replication based on row changes or on statements.

Instead of commiting the same change 3 times, you only will need to do the change in the local db and will be replicated on the central ones automatically.

You can visit the http://www.mysql.com/ for more info about the editions.

Hope this helps

lolafuertes 145 Master Poster

I would suggest the following to accomplish your desire:
1) Enable the key preview in the form
2) Capture the key press event on the combobox and there
a) Add the key value (character) to a filter string. Monitor for special characters like cursor movements, delete, back, etc.
b) Refill the combo with the relevant values according to the filter

Hope this helps

lolafuertes 145 Master Poster

So, If I understood well, you have a dirct cable connect to your PC. From where is coming this cable? Is the phone line?
On the other hand, you have a WiFi Router, not connected to the PC?
The WiFi router has also ethernet cable connection available?

lolafuertes 145 Master Poster

I did'nt understand why in the child form you instantiate the parent form. Isn't instantiated before? What is the order of appareance of the forms?

lolafuertes 145 Master Poster

Please connect to the default gateway (usually 192.168.1.1) using any browser with http:// protocol.

The default user and password are: Admin

Then the router will show you a navigation menu at left. There should be a button or link to go to the wireless configuration.

Hope this helps

lolafuertes 145 Master Poster

Also, if the item value is a string (because the StreetName_LCL seems to be string), asigning an integer to the selected value would select nothing.

lolafuertes 145 Master Poster

This will mean that you have no items on the combo.

Please chech the Count of items in the combo before selecting any thing.

Hope this helps

lolafuertes 145 Master Poster

Agreed. Please post your full code.

The most common situation is that the child form has not been shown, just instantiated, when you try to get the value of the text box.

Let us know

lolafuertes 145 Master Poster

1) You must logon with an acount belonging to the Administrators Group.
2) Select 'My Computer', and select Disc C:.
3) Click on the disc C: icon with the secondary button of the mouse, and select the Properties option.
4) There is a Security tab. Click on the Edit button, Accept to continue if the UAC asks for it, Click on the Add button, and enter the user name to be authorized. On the window, select the Allow Modify and check it. Then click OK and click OK.
5) Logon with the authorized user and verify the righ to write there.

Hope this helps

lolafuertes 145 Master Poster

In order to clarify the 3 distinct timers in .NET you can read this article.

The most commonly used is the Sysytem.Windows.Forms.Timer and uses always miliseconds as the unit of measure.

For your pourpuse, I would recomment to use it.

Hope this helps

lolafuertes 145 Master Poster

Any error? what is the expected result? can you pot something else that helps us to help you?

lolafuertes 145 Master Poster

Glad to hear you solved it.

Please, be so kind to mark the thread as solved.

lolafuertes 145 Master Poster

In order the parent form can access to some shild form data is that those data is public.

If you wish not to change the visibility of the control, you can add a read only property to the form, and the get will return the textbox text.

i tried what you suggest but its not working

Do you have an error? is not showing the contents?
Please, post your code here, and will try to help you.

lolafuertes 145 Master Poster

I would suggest to use the SelectedIndex istead of SelectedValue.
Also I will rewrite the CheckBox1_CheckedChange sub to some thing like:

Private Sub CheckBox1_CheckedChanged(sender As System.Object, e As System.EventArgs) Handles CheckBox1.CheckedChanged

   lblStreetName2.Visible = False
   cboStreetName2.Visible = False
   lblStreetNumber.Visible = False
   txtStreetNumber2.Visible = False
   
   If CheckBox1.Checked = True Then
        Me.Cursor = Cursors.WaitCursor
        Dim StreetName2DA As New SqlDataAdapter()
        Dim StreetName2Table As New DataTable
       
        StreetName2DA.SelectCommand = New SqlCommand()
        StreetName2DA.SelectCommand.Connection = conn
        StreetName2DA.SelectCommand.CommandText = "SELECT StreetName_LCL FROM T_MUNICIPALITY_STREETS1 WHERE Postcode='" & cboPostcode.Text & "' order by StreetName_LCL"

        StreetName2DA.Fill(StreetName2Table)

        cboStreetName2.DataSource = StreetName2Table
        cboStreetName2.DisplayMember = "StreetName_LCL"
        cboStreetName2.ValueMember = "StreetName_LCL"
        Me.cboStreetName2.SelectedValue = 0

        lblStreetName2.Visible = True
        cboStreetName2.Visible = True
        lblStreetNumber.Visible = True
        txtStreetNumber2.Visible = True
        Me.Cursor=Cursors.Default
    End If
End Sub

This way, you only do the search in the DB when it becomes visible. And also, you notify the user that the program is thinking by means of the cursor.

Hope this helps

lolafuertes 145 Master Poster

Can you show here the router configuration?

lolafuertes 145 Master Poster

For the .NET hash read here

For your own hash read there

Hope this helps

lolafuertes 145 Master Poster

As the System.Windows.Forms.LinkLabelLinkClickedEventArgs contains the LinkLabel.Link you can use it to do your work. Yu'll need only one Sub like:

Private Sub LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) 
    Listbox1.Items.Add(e.Link.Text)
    variable = e.Link.Text
End Sub

Then, on the click event of each link label defined, change it to point to this sub.

Hope this helps.

lolafuertes 145 Master Poster

Go to the child form properties, select the textbox and change his modifier to Public. This will make you textbox visible from the parent form.

Then on the parent form, use the childform.textbox.text to show the message.

Hope this helps

lolafuertes 145 Master Poster

Did you used the SQL Server Configutration Manager on the server and verifyed the Protocols? Usually you need to enable TCP/IP and Named Pipes (Shared Memory is by default).

Also, in the client, you need to enable them and set the order to Shared Memory, TCP/IP and Named Pipes.

Please let us know
Hope this helps

lolafuertes 145 Master Poster

Maybe, you have no write permission to the root of C:. Please check.

I would suggest to put the database in a folder other than the root.

Hope this helps.

lolafuertes 145 Master Poster

I would suggest to use a instrument interface that defines the common priperties for each and every intrument like the NumberOfNotes, the AvailableNotesToPlay, the TunedStatus and the PlayingStatus.

Then you can create as many instruments you need by defining they use this interface. VS will provide you the help to implement it.

As said by thines01, better you define your interface and classes in a new class module.

Hope this help

lolafuertes 145 Master Poster

With only one filed, you only can add the text explaining the rule, IE:
"Classes:1-9;Books:1;Weeks:1"
"Classes:10-12;Books:2;Weeks:2"
Here, I used the ; sign to separate concepts, I used the : sign to separate Identifiers from their values and used the - sign to separate the bounds.

You can create the filed content easely by concatenating the right words, separators and values.

You can 'decript' the field using the string Split() function 3 times. The first using the ; as separator to get the Keywords and the values, each in a separate string (3 strings in this case).

The second, for each KeywordAndValue string obtained, you can use the Split() function with the : as separator to obtain 2 strings: the Keyword and the Value

The third, for those kywords that have bounded values, you can use the Split() function again with the - as separator, to obtain the lower and upper values.

Hope this helps

lolafuertes 145 Master Poster

If your is not a SSD and If there is a phisical error on disk, like a depression or surge, you can reformat it, but each time the disk header goes over the wrong area, it expands the problem.

Usually, if W7 was preinstalled, you should have a partition with the 'reinstallation' and 'diagnostics'.

Usually, after the preinstallation has finished, you created a DVD or some thing alike, with all this stuff.

With the diagnostics, there should be one that can verify your disk for hard errors. Also you can fully test your memory and video cards.

If this is the case, the only solution is to replace the disk.

Oh, I assumed that after all the trys, you also tryed to start in safe mode without networking and, even in this situation, you are not able to load the OS.

Also assumend that, after all the boot interruptions, a chec disk was performed.

Well, hope this helps

lolafuertes 145 Master Poster

You can use existing images.

IE: use Paint to make the shapes and save them as bit maps.

Hope this helps

lolafuertes 145 Master Poster

Just my cent.
Be aware, that when creating a new workbook, the default configuration to create 3 sheets can be changed by the user to any number between 1 and 255 so is a good practice to verify the current number of sheets before referencing a sheet by index.

Hope this helps

lolafuertes 145 Master Poster

Glad to hear that. So please, be so kind to close this thead.
No dout to start a new one if you have some additional questions.

lolafuertes 145 Master Poster

Well done. This is a good point to close this thread and start a new one.

lolafuertes 145 Master Poster

Use an ImageList in your form. ( See here to learn about ImageList class adn get examples. )

Then add to the image list, the images you want to show.

Then, when a check box has changed, set the picturebox image to the desired image in the ImageList.

Hope this helps

lolafuertes 145 Master Poster

Then try

Conn.Open()

before executing the command.

Hope this helps

lolafuertes 145 Master Poster

Please, change the following

Catch ex As Exception
    lblError.Text = "File could not be uploaded. " & ex.Message
End Try
lolafuertes 145 Master Poster

And what is the ex.Message value?

lolafuertes 145 Master Poster

If you have a legal copy, send a copy of the invoice and the key you used during the installation to Microsoft, and claim. Usually, They will verify and contact you to give you another, valid, key.

If your copy is not a legal one ... the worst is that updates and patches are not applied, so exposing you to infections or missfunctinos or exploits. In this case, better buy a legal copy.

Hope this helps

lolafuertes 145 Master Poster

Before Conn.Close, you need to do a

cmd.ExecuteNonQuery

Hope this helps

lolafuertes 145 Master Poster

You can access. No problem.
As said by dimsums, go to Control Panel, and, in the Folder Options, select to show every thing, even it says that maybe dangerous. Reset all folders and set this as default. Accept it.
Then go to the C:\ and yu'll see the folders. If you can not, refresh the c: folder contents. If you still not, then restart the computer.

If still not, you must change a kay in the registry to show the superhidden files following those steps:
1)Start
2)Run
3)Regedit
4) Goto Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Data Type: REG_DWORD [Dword Value]
Value Name: ShowSuperHidden
5) Modify/Create the Value Name [ShowSuperHidden] according to the Value Data listed below.
Value Data: [0 = ShowSuperHidden Disabled / 1 = ShowSuperHidden Enabled]
6) Exit Registry and Reboot
Now you'll see a lot of unknown files and folders with strange names, starting with double $, etc. Do not pick on them or you'll crash your system.

Verify the contents of the folders found by Nero, and if you still convinced, delete them.

Set back every step you did to see the folders. And restart the computer, of course :)

Hope this helps

lolafuertes 145 Master Poster

@Codeorder:

Well done

codeorder commented: .as.well.:) +12
lolafuertes 145 Master Poster

Suppose mathtype equation in richtextbox you can open it by double click on them and you can edit then this changes will be saved in richtextbox, but first time it will not save the containt in richtextbox.

Before presenting the rich text box to the user, set the Text property to a space.
Then use the Select all to make this space as selected.
At this point, the contents of the rich text box is not empty and can be replaced by the equation editor.

Hope this helps

lolafuertes 145 Master Poster

Steps on VS2010:
Method A)
1)Select your project
2)Right click and select the option Add
3)Select the option Existing Item
4)On the lower right corner Select the option All Files (*.*)
5)Using the left pane, nevigate to the place where the image or icon is located
6)On the right pane, select the image you want to include and click on the Add button located in the lower right corner.
7)The image is copied into the source folder of your project.
8)On the Solution Explorer select the image and right click. Select the Properties option.
9)On the properties pane, find the Build Action. Change it to Embedded Resource.
10) Save your project

Method B)

1) Select your project.
2) On the VS2010 Menu, select Project, then the las one (yourprojectname properties)
3) Select the resources tab
4) On the top of this form, Click on Add Resource
5) Select the Add existing file
6) Continue with the steeps 4 to 7 of method A)
7) Select the image in the Resources tab, and see the properties pane
8) Find the persistance option and change it to Embedded in .resx
9) Save your project.

Hope this helps

lolafuertes 145 Master Poster

Add the image as new item in your project. Use the *.* filter to locate it, and insert.
on your project, select the image prperties and change the build action to embedded resource.

Hope this helps

lolafuertes 145 Master Poster

You shoud find information about the version in:

System.Windows.Forms.Application.ProductVersion.

If you need to phisically read the information from the AssemblyInfo file, you can use any standard text file procedure to read it and find the AssembyVersion.

Hope this helps

lolafuertes 145 Master Poster

Sorry.
On .Net is used the Paste from clipboard (a little dirty solution) and the example only uses de text format.

Here a CODEPROJECT example project about this.

Hope this helps

lolafuertes 145 Master Poster

Also, the Found.0001 and Found.0002 are usually hidden folders created by check disk utility when some problems found on it. Mostly when the disk is on any kind of FATS formatted.

I'll suggest to verify this point and change the format to NTFS using the CONVERT utility (see here for help)

Hope this helps

lolafuertes 145 Master Poster

You need a OracleDataReader. You can read here for howto and examples.

Hope this help.

lolafuertes 145 Master Poster

I would suggest to move the lines

command.Parameters.Add("@ModelName", SqlDbType.VarChar, 50).Value = txtModel.Text;
            command.Parameters.Add("@ManufacturerName", SqlDbType.VarChar, 50).Value = txtManufacturer.Text;

just before

int rows = command.ExecuteNonQuery();

Hope this helps

lolafuertes 145 Master Poster

You must enable only one timer at a time.
Timer1 to go up.
Timer2 to go down.

When any Timer reaches the destination floor, it shoud be self disabled.

On both timers you check for floor 4. IMO you should chek if the current floor is the destination or greater on timer1 and the destination or lower in timer2.

Hope this helps

lolafuertes 145 Master Poster

Wich parameter are you using lpApplicationName or lpCommandLine to launch the application?

If you use the lpCommandLine, you can write some thing like
"C:\Path\program.Exe >>Output.txt 2>&1" to find the stdout and the stderr in a file called Output.txt in the same folder.

Yes, it is a little tricky. Please read here about command line redirections

Hope this helps