Domain Registration API That Works With Cocca Postgresql

Jul 22, 2011

I am building an Online Domain Registration Portal that allows an an Admin create, Update and Verify a New Domain Name using the portal , the Registry is using a Cocca app with a PostGreSql database. I built the portal using Visual Studio 2010 and VB.net.

My Issue is how to write the New Domain back from the Application to the PostGRESQL database of the Cocca that the Registry. I will prefer if there is an API I can use instead of updating the PostGRESQL database direct.

View 1 Replies


ADVERTISEMENT

OCX Registration Only Works For Admin Users

Apr 23, 2010

I develop and maintain several VB6 applications used internally by my employer.All PCs (both my development machine and the users' workstations) run Windows XP. My normal procedure is to develop and test the application, and build an installation package (using the Package and Deployment Wizard), on my machine, and then at each user's machine do the following:

1.log on using a domain administrator account

2.uninstall any previous version of the application

3.run the installation package to install the new version of the application

4.copy the Start menu entries and desktop shortcut to Documents and SettingsAll Users, so that the application can be run by any user

5.test the new version of the application to ensure proper operation

Recently, I completed, tested and built the installation package for version 2 of a particular application.One of the significant changes in this version is the removal of a listbox control and its replacement by an MS FlexGrid control (this was necessary because the users require different items to appear in different colors, which doesn't seem possible with an ordinary listbox).In order to use the FlexGrid, I had to add MSFLXGRD. OCX to the Components... list on the Projects menu.After upgrading the six existing users to version 2, and installing it for a new seventh user, I've run into a problem I've never seen before.When I log into any of the users' machines using the same domain administrator login that I used to install the application, it runs normally.But when I log out and the machine's user logs back in, when they launch the application it always aborts with the following error as soon as the form containing the FlexGrid is opened:[code]With the machine's user logged in, I attempt to manually register the control by opening a command prompt window, making WindowsSystem32 the current directory and entering regsvr32 msflxgrd.ocx at the prompt, but that always generates this error: LoadLibrary ("msflxgrd. ocx") failed - Access is denied.

Of course, if I then log out the user and log back in with the domain administrator login, I can successfully use regsvr32 to register and unregister the control, and the application runs normally for me.I'd always thought that component registrations were system-wide, but this situation seems to call that into question.I've read elsewhere that this problem can be resolved by registering the control in the HKeyCurrent User section of the registry instead of (or in addition to) the HKeyLocalMachine section, and that I can do so by using a registry script rather than (or in addition to) regsvr32 and/or the installation package, but I have no idea of how to do so.

View 4 Replies

Adding Active Directory Sub Domain User To Main Domain Group?

Sep 22, 2010

I have a function that works perfectly when I attempt to add a user from the same domain into a group of the same domain.

Function AddUserToGroup(ByVal strUserDN As String, ByVal strGroupDN As String, ByVal strGRPDC As String, ByVal strUserDC As String) As Boolean
Dim oUser As DirectoryEntry

[Code]....

The error is actually being thrown on the Invoke line, but as I said earlier, if the user is in the same domain, this works perfectly.

View 1 Replies

Connect PostgreSQL With .NET?

Jan 12, 2012

I just want to use a VB.NET application to do sql operations in a PostgreSQL database. How can I do that?

View 10 Replies

How To Connect Postgresql To .net

Jun 22, 2010

how to open connection postgresql with vb.net

View 1 Replies

Checkbox Value Into Postgresql Database?

Dec 28, 2011

I' m trying to insert a record into a postgresql table. This table contains a boolean field too. But I can't figure out, how to insert the row in the table. I' ve trouble with the boolean field. I have a checkbox and want to pass his value to the field. But I get the error: invalid input syntax for type boolean: "".I tried it wiht 1 and 0, wiht true and false, but no succes. Here is the code:

pg_command.Parameters.Clear()
pg_command.Parameters.AddWithValue("@modulkod", kov_modulid)
pg_command.Parameters.AddWithValue("@modulnev", txtmodulnev.Text)

[code]....

View 9 Replies

Update Record In Postgresql?

Aug 11, 2010

Dim container As String[code]...

I have this code.. whenever i try to run it.. there is no error that appears but it doesnt do something. The record s cannot be updated..

View 1 Replies

Get Existence And Number Of Rows In Postgresql Table With ODBC / Net

Jun 7, 2012

I am using PostgreSQL database with VB.net through ODBC what goes OK. Sample code:

[Code]...

View 1 Replies

Postgresql - Populating Tree View From Postgres Database

May 1, 2011

The vb.net code for populating tree view from the SQL Server Database is given in following link: [URL]I tried the code given in the above link to solve my problem but I was unable to change the code of SQL Sever for Postgres Database. I want to do the same thing using vb.net and database Postgres.

View 1 Replies

Postgresql - Populate Tree View For Parent Child Relation In Same Table?

May 1, 2011

The database strutcure is:

Id Name ParentId
1 File NULL
2 Open 1
3 Save 1

[Code]....

I am using the database PostgreSQL.

View 1 Replies

Link From Button - When Sheet1 Is Selected, It Works, But When Sheet2 Is Selected, Not Works

Jan 5, 2012

I have a spreadsheet with this code:

'insert link
sheet1.Hyperlinks.Add(sheet1.Range("P1"), "http://http://www.vbforums.com", "")
the code of the button (ribbon)

[CODE]...

When I press the button, it connects to the web site. when the sheet1 is selected, it works, but when the sheet2 is selected, not works, why? the path is sheet1,What's wrong?

View 2 Replies

Code That Doesn't Works Runtime But Works Step By Step?

Jun 26, 2010

this is my code:

Dim WB As WebBrowser
WB = GetPage("http://speed.travian.ir/a2b.php?z=" + VillageID.ToString + "&c=" + Type.ToString + "&" + AttackParams)

[code].....

View 9 Replies

Pop Up For Registration?

Apr 15, 2012

How can a pop up for registration and sign up be enabled in vb 2005.when the pop up is visible, rest of the site should be disabled .

View 4 Replies

How To Write Registration Key

Jun 8, 2011

I need to code a tool repaire exe file how I can write this reg key

[HKEY_CLASSES_ROOTexefileshell
unascommand]
@=""%1" %*"

[code]....

View 2 Replies

Developing A Registration Key For Application?

Jul 12, 2009

i developed a very simple vb.net application and i need a way for every user to verify that they have paid for it. i would like the simplest method possible. it will be an off-line registration. I am actually looking for a way that I can program this easily myself, and am not interested in third part solutions.

View 2 Replies

How To Make A Registration Form Look-a-like

Aug 29, 2009

I just got Visual Basics 2008 Express Edition and I am very addicted to it.I am quite a fast learner. I was able to script together many fun applications that I learn from YouTube. I want to make a registration form look-a-like.I setup the design the way I wanted it and now its the coding part I am having trouble with.I have been on Youtube and this site for some tutorials but I still cant find what I am looking for. I have 4 Text boxes, one being Name, second being Last Name, third being E-mail, and fourth being Username.I also have a OK button that I want them to press when they fill in all text fields. The problem I am having is, say they only fill in the Name & E-mail field and leave the Last Name & Username feild blank when they hit OK I want a error to come up and say Please fill in all information. I have tried these codes and none seemed to work:[code]

View 7 Replies

Login/Registration System?

Dec 26, 2010

I am making a program that allows users to share certain files, and it requires anaccount.How do I make a login system? I have my own website, so I have a MySQL thing...Could I link it with that? I have never really worked with account systems so I have no clue on how to add an SQL database and how to use it within the program

View 4 Replies

Make A Registration Key Generator?

Feb 15, 2011

Okay, this is the final part to my program, making the registration keys...

i have no clue on where to start, i think it starts w/something like this, right?[code]...

View 14 Replies

Not Able To Complete Registration Process?

Jan 11, 2010

Although I thought I had registered for the 2008 VB Express, several attempts to run the application resulted in a "stall" at the following address: url...I tried uninstalling and reinstalling the application several times but with the same result.I also installed the latest Vista service pack. This is a problem with my desktop.I have not (yet) experienced the same issue with my laptop.

View 1 Replies

Registration Of Username And Password?

Mar 17, 2010

i have a problem when adding username in my registration form..registering same username is allowed in my program..i dont want to allowed this. How can i make it using SQL..if the username exist dialog box will appear that the username exist

View 10 Replies

Username - IP Address Registration

Dec 2, 2009

I am a member of the IT department and also a basic Database designer using Access 2007 and Visual Studio 2005. At the moment when a user calls for support, I log onto there PC using RealVNC, I ask them to tell me there IP address by hovering over there VNC Icon in there system bar. What I would like to do is create a program that runs on my pc, so when they log onto there pc there username and ip is registered in my program, so when they call, i can quickly look up there IP Address for VNC. I know I will have to have some sort of program running in there system tray that passes this information to my program but I am not exactly sure how to go about this.

View 1 Replies

Using ReCaptcha In Registration Form?

Apr 11, 2011

I have recaptcha code and its working fine when i tested it , but what i need is that in my registration form i need this recaptcha and the data should be stored to db if recaptcha challenge is passed and if not then the new challenge should bring up.

View 1 Replies

VS 2008 Autofill Registration

Feb 1, 2011

I like to write an app to autofill a form and submit it. e.g. craiglist, kikiji.
Where should I start first.

View 2 Replies

.NET And MYSQL Based Registration System?

Jun 21, 2010

I have linked my vb.net application with mysql database but i am having a problem inserting data from the vb forms into the relevant fields in the database...

View 1 Replies

.net User Registration With SQL Service Database?

Jun 2, 2011

I want to create a log in and registration form in VB connecting to a sql database.

Databse Name: Users
Table Name: UserDetails
Table Fields: ID, Username, Password

The ID field was specifed as primary and self incrementing by 1 and the table has one username and password (being Id: 1, Username: peter, Password: admin). The Login form works, it checks to see if the user exists, if they do, they gain access, if not a message box is displayed. The Registration form however does not and I have no idea why, its probably something simple but yeah, hence the reason Im here! When I register I can add a user fine, and it wont allow me to add the same user, but when I look at the table, it is not updated :S and I have no idea why!! Even after registering the user closing the application and starting again, say I registered the following:

Username: Fred
Password: 123

Then I login with these credentials, it works. When I close the program and reopen the program, it still works and will not allow me to register a new user being Fred, 123. However after 3 or 4 minutes when I try again, the user no longer exisits and I can re-register with set credentials? The code is shown below (1st the login form that works, second the registration that doesnt).

Public Class Login
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Dim connection As New SqlClient.SqlConnection("Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Users.mdf;Integrated Security=True;User Instance=True")

[code]....

View 5 Replies

Application Registration Random Yet Transferable

Aug 16, 2011

I'm looking for the best way to set up application registration.Currently, I'm looking at hardware, generating a registration number from a variant thereof, then manually (through a created key-gen app) generating a serial number that I'm sending the registrant.Then, every time the app is stated, it re-generates the registration number, looks for the serial number, then checks to make sure that they match.until The problem with this is it ties the serial to that machine. I'd like to allow for transferring to another machine.What are some other solutions for application registration that will ward off pirating. i don't want to make it too easy for someone to install a single copy on 5 machines, or worse, share the serial with friends. I'd like to get paid for my work (call me crazy). I know about the 80/20 rule (of 100 registrations, 80 will pay, 20 will pirate) or 70/30 or whatever you hear, and am not opposed to that, but, hey, closer to 96/4 would be nice, right?

View 2 Replies

Best/cheapest Product Registration Service?

May 17, 2010

I'm looking to release an application for free with (unubtrusive) ad support, and the option to upgrade to a registered version to remove the ads. Basically we want to give the product away for free, but need some income to support costs.

What would be the best way to achieve that? I essentially just want the user to be able to type in a serial number, which is sent to a server, checked and presumably moved to a list of used serials, and then the product is activated and the ads removed.

What is the best/cheapest service to do that?

View 4 Replies

Calculate Registration Fees For A Conference?

Apr 24, 2009

[code]...

create an application that calculates the registration fees for a conference. The general conference registration fee is $895 per person. The is also an optional opening night dinner with a keynote address for $30 per person. additionally, the optional preconference workshops listed in table 7-16 are available.

[code]...

View 5 Replies

Create Product Registration Code?

Jan 15, 2012

I have an application and an sql server.i would like to add Registration Code for the system.that should include the number of user

View 4 Replies

Data Binding - Verify From Registration?

Nov 15, 2011

Private Sub frmRegistration_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
cn.Open()
cmd.Connection = cn
cmd.CommandText = "Select * from Registration"
[Code] .....

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved