|
what r the differences, r they minor or major?
Best Regards
3ala2
|
|
|
|
|
the differences in the tables...they are not in their places and the pattern is not as the same in the classic one.
haitham
|
|
|
|
|
i have problem in FCK Editor if you know it i add arabic text and its transfer after saving to "???????????"
why this happen?
Mohamad A. Flefel
mflefel@hotmail.com
+962 79 5963865
C#.net & VB.net Developer
|
|
|
|
|
check the language support of ur db
Best Regards
3ala2
|
|
|
|
|
I am using Visual Studio 2005 to create a Web Setup Project to deploy my web application.
I wish to add a custom install action that will configure a virtual directory (named MyFolder) inside the WebApplicationFolder (MySite) as an application in IIS. My Installer class is calling the function below (ConfigureVirtualDirectories) from Public Overrides Sub Install(ByVal stateSaver As System.Collections.IDictionary) of the Installer class
Private Sub ConfigureVirtualDirectories()
Dim IISWebVDirObj As Object = GetObject("IIS://localhost/W3SVC/1/Root/MySite/MyFolder")
'++++++++++++++++Configure MyFolder folder as an application in IIS+++++++++++++
' Use the AppCreate2 method of the IIS ADSI provider to
' create an application on the new virtual directory.
IISWebVDirObj.AppCreate2(1)
IISWebVDirObj.Put("AppFriendlyName", "MyFolder")
' Use the Windows ADSI object "SetInfo" method to
' save the data to the metabase.
IISWebVDirObj.SetInfo()
End Sub
My problem is that during installation my installer gives the following error: Cannot create ActiveX component. If I create a small windows application and put the code in a button click event, the code works. As in:
Imports System.DirectoryServices
Public Class Form1
Private Sub btnCreate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreate.Click
Dim IISWebVDirObj As Object = GetObject("IIS://localhost/W3SVC/1/Root/MySite/MyFolder")
'++++++++++++++++Configure MyFolder folder as an application in IIS+++++++++++++
' Use the AppCreate2 method of the IIS ADSI provider to
' create an application on the new virtual directory.
IISWebVDirObj.AppCreate2(1)
IISWebVDirObj.Put("AppFriendlyName", "MyFolder")
' Use the Windows ADSI object "SetInfo" method to
' save the data to the metabase.
IISWebVDirObj.SetInfo()
End Sub
End Class
|
|
|
|
|
Hi All,
I have one problem to discuss with.
I have a javascript function which will capture screencoordinates of browser window on a mouse click.
I want that javascript function to be masked(i.e doesn't apply)to a particular event(eg.Say,"OnmouseClick" on a image in the browser).
How can we do this?
|
|
|
|
|
i'm not very sure about that but gues u should check the "element" type before doing your javascript code
var elem;
elem = document.gerElementById('Your Control')
if elem.type = "img" ...
something like that
hope this would help
Best Regards
3ala2
|
|
|
|
|
What u check the condition is ok.if the condition satisfies then we should able to mask particular javascript function(In this case,the function which captures the screen coordinates should be masked for the clicked event on the image in a browser).
So how to mask the javascript function is what really important for that clicked event on image.
|
|
|
|
|
Hi there...
I have a ASP.NET Project with codebehind coding(sample.aspx.cs). When i upload this, project it is not taking the .cs file. How to work with codebehind file from the remote server. Please help me.
Regards n Thanks
Sam.M
|
|
|
|
|
u don't upload the code behind files
all ur project code files is converted to a dll file in the bin folder with the same name of ur project
Best Regards
3ala2
|
|
|
|
|
hi sam,
i didnt get ur actual requirement. Can u tell me clearly about your requirement
this is sumanth, completed m.c.a from india.
|
|
|
|
|
Hi,
I have developed a webapplication in my local host with name proj1 in vb.net. proj1 contais two webforms web1.aspx, web2.aspx
Now iam working on another applicatin in local host with name proj2 in c#.net. proj2 contains webform web3.aspx I want to use web1.aspx in my new C# project.
i want to transfer control from web3.aspx to web1.aspz, perform some operations and return back to web3.aspx.
is it possible. anybody help me?
Thanks in advance.
this is sumanth, working as associate developer from india.
|
|
|
|
|
Use VS post build to COPY the expected pages and controls to the new project.
|
|
|
|
|
I want to get values from dropdown list. For Example it has value 5 now. I select 1 from dropdown list. I want to store 5 in one variable and 1 in another variable. How can I store old value of dropdown list. I can store new value.
I have followng event handler:
public sub change(sender as object, e as EventArgs)
pos_new.DataTextField = CType(sender, DropDownList).Text
end sub
pos_new as a globle variable of type dropdown list.It store new selected value. But How can I store the old value. I m using that dropdown list on a datagrid. I have taken pos_old global variable for old value. I m using VB.NET as code behind language for my ASP.NET pages
|
|
|
|
|
Hai there...
I got the solution for filling values in dropdownlist boxes by using AJAX in ASP.NET 2003, but i can't able to convert that codebehind aspx page into inline aspx page, because while i uploading that codebehind aspx into server means, it's not working. That's y i converted into inline coding. Please help me.
Regards n Thanks
Sam.M
|
|
|
|
|
HEy guyz im faced with a problem here.
I need to print a small piece of data from a datagrid.
The data would probably neva b over a page.
The thing is i was gona use crystal reports but apparently i can only get data from the database, the problem with this is that the data must be id specific. wich it seems to me i cant specify when retrieving data from a datatable.
ive looked at printing straight from the datagrid but i cant seem to find any real info on that either considdering its mostly either vb bassed or not for web.
if anyone has any help for me pls let me know
|
|
|
|
|
Maybe this will assist you:
http://www.codeproject.com/vb/net/datagridprinter.asp
|
|
|
|
|
thanx for your help. ireally appreciate it.
The prob is that im kinda green, and i only know c#.
and it looks like this artical is relating to vb.
how would you suggest i get around it.
|
|
|
|
|
Most vb.net code can be easily converted. Most of the .NET namespaces are the same.
There are also free converters on the web that you can use. I would recommend trying to do it yourself, it's a great learning experience.
|
|
|
|
|
cool thanx man. ill give it a go. lol, lets just hold thumbs that i works. anyway have a great one
|
|
|
|
|
how to make the text field first char to upper case when text enter
|
|
|
|
|
In order to do this, as it's typed, you must add a Javascript attribute to the Textbox.
In your Page_Load Event, assuming your text box's ID is 'TextBox1':
add the following code:-
TextBox1.attributes("onKeyUp")="this.value=this.value.toUpperCase();"
Regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
|
Hi all,
I am trying to send an mail from localhost(VB.NET), but my mail messages are in the mailroot/queue folder, my system is connected in net also,
My code:
objEmail.To.Add(e_mail)
objEmail.Subject = "test mail"
objEmail.IsBodyHtml = False
objEmail.Body = bodytxt
objEmail.Priority = MailPriority.High
Dim Client As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient("localhost")
Client.UseDefaultCredentials = True
Client.Send(objEmail)
Plz suggest me an solution
Thanks in advance
Bye
Know is Drop, Unknown is Ocean
|
|
|
|
|
hi there...
Why validation controls are not working from the server when I uploaded to the server? In my local mechine validation controls are working fine.Please help me.
Regards
Sam.M
|
|
|
|