|
Does this function will refresh parent page ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
nope.. it won't
--Sreeram
|
|
|
|
|
Hi,
I hav implemented the functionality to call a popup window.
but while i child window appears , the value of parent will refresh.
suggest Clue If Any.
Regards
Tarun Singh
Sr. Software Engineer.
mailto:tksingh@zenta.com
|
|
|
|
|
If the Javascript function that is used to popup the window return's True then it will refresh. To avoid this page post back set the return value to False
Regards - J O N -
|
|
|
|
|
hi friends this is vb script\wmi code i want to change this code into vb.net please help me. if u have any url or help file then sned me thanks
Public Function ObtainLCUserInstanceID(URI)
' Connect to the WMI server.
Set wmiServer = CreateObject("WbemScripting.SWbemLocator").ConnectServer()
'Do error checking here.
Query = "SELECT InstanceID FROM MSFT_SIPESUserSetting where PrimaryURI = '" & URI & "'"
Set LCUserEnum = wmiServer.ExecQuery(Query)
'Do error checking here.
WScript.Echo "The following Live Communications User Instance IDs matched the supplied URI:"
For each LCUser in LCUserEnum
WScript.Echo LCUser.InstanceID
Next
ObtainLCUserInstanceID = true
End Function
Piyush Vardhan Singh
|
|
|
|
|
Hi Piyush,
could u kindly tell me what you are trying to do using WMI? i am not clear about it. plese let me know whats u want, hope i can help u in vb.net and C# also.;)
Happy Programming
-----
Abhijit
|
|
|
|
|
thanks for reply.
no my dear i know both language (vb and c#). i want to conver VB Script/WMI code into VB.NET(vb language in .net)
Piyush Vardhan Singh
|
|
|
|
|
i want to convert VB Script/WMI code into VB.NET/wmi(wmi is class library of .net)
Piyush Vardhan Singh
|
|
|
|
|
Hi,
If i am not wrong, that you want to covert your that VB Script code to VB.Net. and that's why i want to know the object of that function , that what it should do? for vb.net you have to use the System.management dll and nets System.Management Namespace.
I just want to know from you that what u are trying to do using that function. Or you want to convert any VB Scipt WMI code to VB.Net WMI.
Happy Programming
-----
Abhijit
|
|
|
|
|
Good morning friend
thanks for reply
yaa i want to covert the VB Script code to VB.Net and i using this WMI function in (Live Communications Server Management API). i using this wmi first time so i don't know how to make connection to server and other function of this wMI.....
Piyush Vardhan Singh
|
|
|
|
|
Hi,
U can download one tool with source code, that is WMI Code Creator which will help you to do your job !!! , In this tool you can get code of VB Script, VB.Net, and C# and i think the source code will help u
Best of luck !!!
Happy Programming
-----
Abhijit
|
|
|
|
|
Hi all,
I have made one web user control. Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter. It is like we can pass data source to gridview.
Thanks in advance,
Priyank
|
|
|
|
|
You don't have to pass the Server-Control as a parameter to the User-Control. You can place it on the User-Control. User Control is similar to a container Control. It can contain any server control/any number of server controls.
Regards - J O N -
|
|
|
|
|
priyank_ldce wrote: Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter.
As you said you are passing the string parameter then how can you pass control as parameter to your control
i think am confused
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
when we need to make web application deployment why we need to install asp.net after installation of .net framework .
i want to make a website in asp.net plz tell what all i need to do for this ..................................................................
hi
|
|
|
|
|
saggy_del wrote: when we need to make web application deployment why we need to install asp.net after installation of .net framework .
To build a web application using .NET, you need .NET Framework and Visual Studio installed in your PC.
To make your web application available on the Intranet, You need to Deploy it on the Server.
saggy_del wrote: i want to make a website in asp.net plz tell what all i need to do for
<br />
1. Install .NET Framework and Vsiual Studio<br />
2. Build your WebSite using ASP.NET<br />
3. Deploy it on the Server
Regards - J O N -
|
|
|
|
|
|
saggy_del wrote: thankx man i got it
You're Welcome.
Regards - J O H N -
|
|
|
|
|
Hi,
When i am sending mail,
then sometimes its give me error like
The requested body part was not found in this message.
I am getting body part from database. It is html.
When i am sending only ok as body, then its work.
I am not getting the reason, some times it works ,
some times its not.
My Code
Dim smtp As SmtpMail
Dim mm As New System.Web.Mail.MailMessage
mm.From = mailFrom
mm.To = mailTo
mm.Cc = mailCC
mm.Subject = mailSubject
smtp.SmtpServer = smtpServer
mm.Body =sBody
mm.BodyFormat = MailFormat.Html
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", iAuthenticate)
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", sUsername)
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", sPassword)
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", iPort)
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", sSSL)
Try
smtp.Send(mm)
Catch ex As Exception
Throw ex
kiran banker
|
|
|
|
|
banker_kiran wrote: I am not getting the reason, some times it works ,
some times its not.
It could be the problem of your SMTP Server . Not sure...
Regards - J O N -
|
|
|
|
|
Hi,
I have a datagrid with 13 columns(like event, venue etc),The column names are defined in list box. The values selected in the list box should only be saved in database table. Can any one help me how to iterate the specific columns only. Thanks in Advance.
|
|
|
|
|
For Each dbGridItem As DataGridItem In Me.dgGrid.Items
dim sTemp as strin
sTemp = dbGridItem.Cells(1).Text.Trim.ToString 'Column index where u stored events,venus..
select case Ucase(sTemp)
case "EVENTS"
'do the process
case "VENUS"
'do the process
end select
Exit For
Next
the above is the code you can use to iterate thru data grid
Bash-Tsh
|
|
|
|
|
you can write something like this to iterate through the items of DataGrid
Dim Griditem As DataGridItem
For Each GridItem In Datagrid.Items
value = GridItem.cells(ColumnIndex).Text
Next
Regards - J O N -
|
|
|
|
|
Hi,
Im able to store the user details using SqlMembershipProvider and i asked SqlMembershipProvider to follow the "Encrypted" format. My code in web.config looks like this.
<membership defaultprovider="SqlMembershipProvider" userisonlinetimewindow="15">
<providers>
<add name="SqlMembershipProvider"
="" type="System.Web.Security.SqlMembershipProvider" connectionstringname="LocalSqlServer" enablepasswordretrieval="true" enablepasswordreset="false" requiresquestionandanswer="true" applicationname="/" requiresuniqueemail="true" passwordformat="Encrypted" minrequiredpasswordlength="6" minrequirednonalphanumericcharacters="0">
<machinekey validationkey="........"
="" decryptionkey="......." validation="SHA1" decryption="AES">
As of now it's working fine but im unable to get the password of the user in admin login. To get the password i have done the following code.
Dim u As MembershipUser = Membership.GetUser("kalyan")
Dim OldPassword As String
OldPassword = u.GetPassword(passwordAnswer")
But it is throwing error the "Password Answer is too long and exceeded 128 characters"..
The passwordAnswer im getting from database, which was encrypted using the above code in web.config file.
It will be great if i get solution to retrive the password.
|
|
|
|
|
I am doing an application in which every form was working fine. And I am using Infragistics DateChooser control. The forms now when adding new records shows an error message like this..
Sys.WebForms.PageRequestManagerParserErrorException :the message received from server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules or server trace is enabled.
Details : Error parsing near '
Please help me to recover this..
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|