|
I have created XSD in .net 2.0
I have added one tableadapter in xsd.And its working fine.
But now its giving me error to add new table adapter in XSD.
Error is as follws:
Failed to add TableAdapter
Key not valid for use in specified state.
Can anybody help me!!
|
|
|
|
|
|
Can I get an Amen !!!!
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
Pleas any body help me in converting this vb code in vb.net
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Const SWP_HIDEWINDOW = &H80
Const SWP_SHOWWINDOW = &H40
Public Sub StartButton(ByVal show As Boolean)
Dim primo As Long
Dim ultimo As Long
primo = FindWindow("Shell_TrayWnd", "")
ultimo = FindWindowEx(primo, 0, "Button", vbNullString)
If show = True Then
ShowWindow(ultimo, 5) 'show start button
Else
ShowWindow(ultimo, 0) 'hide start button
End If
End Sub
Public Sub taskbar(ByVal show As Boolean)
Dim primo As Long
primo = FindWindow("Shell_traywnd", "")
If show = True Then
SetWindowPos(primo, 0, 0, 0, 0, 0, SWP_SHOWWINDOW) 'show taskbar
Else
SetWindowPos(primo, 0, 0, 0, 0, 0, SWP_HIDEWINDOW) 'hide taskbar
End If
End Sub
Public Sub deskicon(ByVal show As Boolean)
Dim primo As Long
primo = FindWindowEx(0&, 0&, "Progman", vbNullString)
If show = True Then
ShowWindow(primo, 5) 'show desktop icon
Else
ShowWindow(primo, 0) 'hide desktop icon
End If
End Sub
suhail
|
|
|
|
|
hi buddy!
just do one think you make a dll of your code in vb6 and then use it in vb.net by adding it's references to your vb.net application
|
|
|
|
|
i have made dll but when i add this dll than error message and dll is not add in my vb.net project plz give another solution.
|
|
|
|
|
Hi friends
I am wokring in asp.net 2.0
I want to know how to use SSL in asp.net
or
How to use HTTPS:// application?
Thanks In advance
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Hi Dear,
Well you don't need to do anything inside the code except (strict path names while redirectiong).. to use SSL..
basically SSL implements on your web Server not on code..
what you have to do is : 1) you need a SSL certificate for your web server and you can get a trial version of it from http://www.verisign.com/
then install it ..
2) make a virtual directory into your web server and just go to properties and select Directory Security and from there Secure Comm. section and click on edit and check require SSL certif. and 128 bit.. and "OK"..
you can implement it on either a single Web page or a Whole directory.. but when you redirect to that page/directory you have to give write https://address/ for non SSL page you have to write http://address..
-hope it would work for you
|
|
|
|
|
Thanks 4 the info but the Server certificate button in the directory tab is disabled.How do i make it active.
|
|
|
|
|
Hi all,
I develped a application in Vs 2003 (C#.net and asp.net 1.1).... I have used thread in my application...I have 2 thread in my application i.e, Main thread and Secondary thread...... problem is when my secondary thread will execute successfully ... I need a some response (show message box,page redirection etc) to client.... how can i achive this task..... plz help... thanks... Sajjad
|
|
|
|
|
You need to use AJAX to trigger and respond to this secondary thread.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
thanx for reply...
can u give me... any code or link for that...
thanks once again
sajjad
|
|
|
|
|
hi i am currently using responce.redirect("lala.aspx") to navigate between pages
however it only updates the current webpage
i would like to make it so that when i click the button containing the code a new browser appear could anyone gimme the code/syntex for it pls
also if it not too troubleing teach me what command/code can i use to make a browser refresh while clicking a button in another browser (sub browser)
thx
|
|
|
|
|
Your link should have target="_blank" in it. Then it will open a new browser window.
neodeaths wrote: teach me what command/code can i use to make a browser refresh while clicking a button in another browser (sub browser)
You want to push a button in one window, and another will refresh ? What is the relationship between the two windows ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
the parameter doesnt have target="_blank" though
|
|
|
|
|
you mean it doesn't show up in intellisense ? That's because it's only showing you server tags. Tags it does not recognise, are passed through to the client.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi buddy,
you can use.. javascript code for this
you can associate a javascript function lets say "OpenWindow()" with your aspx "Button" on page load.
like -
Button.Attributes.Add("Onclick", "OpenWindow();"
and
write javascript function on aspx page..
like
function OpenWindow()
{
window.open('abc.aspx', _blank);
}
it should work for you..
|
|
|
|
|
if i want to refresh the page where the button is from the new poped out page what command should i use any ideas?
|
|
|
|
|
use this script to refresh the sender page..
function closewindow(){opener.location.reload(); self.close();}
|
|
|
|
|
hmm so far i see all the method are in java issit possible to have them written in the code side of the asp.net? in the file.cs file as my web sites is using c# language, because i may need to pass parameter over
|
|
|
|
|
you can use page.RegisterClientScriptBlock() in code behind language to use javascript method inside the code
|
|
|
|
|
window.open('abc.aspx', _blank); how do i pass some values along to the new browser? like passing parameters
|
|
|
|
|
use querystring like window.open('abc.aspx?id=0088', _blank)
|
|
|
|
|
id=0088
means the variable is id and the value is 0088 rite??
and on the receiving end abc.aspx how do i get the value??
............................
p.s thx for ur help i didnt realise the c# limitation was so big =X
|
|
|
|