|
|
Hi Guys and Gals.
I am trying to create a Dynamic Image in Crystal Reports. Now, when I do this in the full version of Crystal Reports 11, It works fine, but the moment I use the Build-in Crystal of .NET, I cant get this picture control to display a different image.
Can anyone please guide me on how to solve this problem please?
Kind Regards,
Elizma
P.S. In Crystal 11, If you right click on the object and go to Format Picture, Picture Tab has an option that reads: Graphic Location. If you click on the Conditional Formula Button, you can specify the field that contains the location to the picture. Dont have this option in .NET.
Hope someone might be able to help. Thanx in advanced.
|
|
|
|
|
I am an inexperienced programmer (hobbyist) trying to write a program in C++ that a web server can interface with. The application runs like a server app and the web server should act as a front end for it. I can write the application but do not know how to add the necessary interfaces for it.
I ruled out CGI since my program has to run continuously. I am looking at COM, but I want to be able to port it to LINUX and I understand COM does not work on LINUX. Ideally, I was targetting something that would work with the Apache http server.
Any suggestions anyone? Is there a common interface scheme that will work under Windows and LINUX for Apache?
Thanks for the help.
|
|
|
|
|
You can use the socket libraries of winsock2.h
and much more given in msdn just watch out the
complete server client code search in online msdn
or u can try this
http://msdn2.microsoft.com/en-us/library/ms737889.aspx
the-Kansagous
|
|
|
|
|
I am not sure this answers the question as it sounds making my App network capable when I wanted to avoid this. Hopefully this will explain better what I was hoping for.
1) The application I want to write is like a virtual world, with things going on in it all the time. It runs continuously like a service or a deamon.
2) Other applications on the same machine should be able to communicate with it, sending commands/requests and getting results.
3) I specifically wanted a web server to communicate with it. This makes it easy to reach the world via the internet, and design interfaces via html forms/widgets/whatever. That way my clients only need a internet connection and a browser. Also, I don't have to get into TCP/IP, firewall and other issues.
So I guess I am designing a back end application for a web server to work with, but I don't know how to give it an interface the web server can talk to. I also was hoping there was a cross platform scheme I could use so that it can be done on Windows and LINUX.
Any suggestions?
|
|
|
|
|
I am trying to work through the Amit Kalani 70-315 book, I tried to open an existing project and I now get this message
"Unable to get the project file from the web server. Unable to open Web project '315C05Exercises_new'. Unable to
validate that the file path'C:\inetpub\wwwroot\315Exercises_new' matches the URL path'http://localhost/315C05Exercises_new'.
Access is denied."
I am using Visual Studio.NET 2003 and I am running on Vista Home Premium.
Can anyone please help?
|
|
|
|
|
#1. Check whether you have IIS installed in your machine or not. ( if you dont have, install it. and remap IIS with VS 2003)
#2. Create the virtual directory called "315C05Exercises_new" in IIS and map with the physical path eg: "C:\inetpub\wwwroot\315Exercises_new".
#3. double-click the project file (instead of .sln) to open the project.
hope it helps..
|
|
|
|
|
Dear Friends,
How we can keep data after inserting in formview controls?.
When i'm inserting a record formview will fire a method, that method is calling a stored procedure. If Stored Procedure is return error i want to keep data in my formview.
How i can solve this issue?
Haridas.R
harisofttech@gmail.com
harisofttech@hotmail.com (online)
harizeenet@yahoo.co.in(online)
"Achievement is not a destination, its a journey "
|
|
|
|
|
Have you figured this out?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi All,
I have a CheckBox List and a GridView Control and some div tags in my form. For each Check box item selected, we will change the div tag and once the data is changed in the controls in the Div tag, then we will click a Save Changes Button which will update the Contents of the GridView.
Here in the Page Load i am firing some events through the javascript to display the DIV according to the selected checkBoxListItem. In the pageLoad, i am able to get the Work done very fine. And after the Update Panel content is updated, the Script is not functioning as the Client script is rendered in the Body onload of the corresponding page.
Please Help in this Regard.
Thanks in Advance.
ukraju
|
|
|
|
|
I couldn't get exactly what you are trying to convey. Can you be little bit point out and possibly the code you use to do so.
|
|
|
|
|
When Firefox 3 is released, Javascript 1.8[^] will be shipped with FX3.
Does anyone have any idea whether Microsoft will added the Javascript 1.7 or 1.8 in IE6/IE7 or not?
|
|
|
|
|
I doubt it.
Microsoft has been very quiet in general on what they're doing when it comes to actually improving the in-browser JScript; sure, there's JScript.NET and the JScript built into Silverlight / DLR, but those aren't all that interesting if you're just trying to do some client-side scripting on a website.
And now in the past week we've had this blow-up over the future of ES4 (which is what MS would implement; Javascript is a Mozilla thing)... it's starting to look an awful lot like MS does not wish to make any significant changes when it comes to JScript-in-the-browser, and isn't exactly wild about bringing in new language features elsewhere either. It sounds suspiciously like they're planning on using Silverlight and DLR to drag us back to the "of course you can use VB for web scripting!" days...
Of course, there's more than just Microsoft. But as cool as ScreamingMonkey[^] sounds, i can't really see it getting the sort of wide-spread distribution that'd be needed to make a difference.
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- C hris L osinger, Online Poker Players?
|
|
|
|
|
Hi,
I use asp.net with c# to build my website ,
but I want to ask what is the easier to design the pages in the website DreamWaver Or visualStudio ??
Is there any problems when I use DreamWaver to build my site?
Thanks,
|
|
|
|
|
sofy2008 wrote: Is there any problems when I use DreamWaver to build my site?
If you want to use code behind then it's extremely difficult to integrate Dreamweaver into a cohesive flow. If, however, you want a powerful easy(ish) to use web environment then Dreamweaver is excellent. Alternatively, you could always look at Expression Web (from Microsoft) - it's not too bad at all.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Can anyone recommend a real good and simple guide to layouts with CSS? I have several books, but what I'm really after is a "So you want to align this with this? Well then do this!"
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
There's this[^]. This[^].
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
You almost got a one for linking to Meyer... but totally redeemed yourself with the second link (although I'd prefer a book I can charge to expenses)
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
martin_hughes wrote: almost got a one for linking to Meyer...
Ah, but the Meyer is because you can download his projects without having had to buy the books - and see how he put them together. I always show people that link if they need CSS and let them go "Wow - it's free."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
|
Hi,
Ive got an error when I was trying to call MyWebService.authentication() method.
The exception is "Unable to automatically step into the server. Connecting to the server machine failed. The format of the specified network name is invalid."
Dose anyone know the solution?
Thanks
|
|
|
|
|
Hi all,
I am getting the following error when i run my asp application to send an email using SMTP.
"ASP Error:(0x8004020F).The event class for this subscription is in an invalid partition
/ASP_EMAIL/mailreply.asp, line 28".
The code sample is shown below.
<%
Dim MyMail
Set MyMail = CreateObject("CDO.Message")
MyMail.From = Request.Form("FromField")
MyMail.To = Request.Form("ToField")
MyMail.Cc = Request.Form("CcField")
MyMail.Bcc = Request.Form("BccField")
MyMail.Subject = Request.Form("SubjectField")
MyMail.TextBody = Request.Form("BodyField")
MyMail.Configuration.Fields.Item_("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
MyMail.Configuration.Fields.Item_("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "server name"
MyMail.Configuration.Fields.Update
'Error occured in the below line
MyMail.Send
Set MyMail = Nothing
%>
The error occured in the line
Mymail.send
Try,if somebody could help me out in this.
Thanks in advance.
Ramya
|
|
|
|
|
I'm having some issues with binding an xml document to a menu control. I have an xml file and it has every possible link in it. I'm trying to create some security to the menu by filtering out the nodes that the user does not have access to. If the user does not have access to the link I remove it from the xml file. Onces its finished going through the xml file I bind it to the menu. It works for the first person that logs into the site. But if somone else logs in and they have different access they are getting the same menu as the first person that logged in. So it seems that who ever logs into the site first it gives that menu to everyone. I run it locally as one user and then login as another user I get the same menu. The only time it changes is when I rebuild the project. I verified its running everytime by saving the new xml file with the users name in it. The user is seeing links that's not in there xml file. It always uses the xml file of the user that first logged into the site. I'm at a loss and need some help. What am I missing or do I need to go in a different direction? Here is my code ...
<br />
XmlDocument doc = new XmlDocument();<br />
doc.Load(page.Server.MapPath("~/Leftmenu.xml"));<br />
<br />
XmlNodeList nodeList;<br />
XmlNode root = doc.DocumentElement;<br />
<br />
nodeList = root.SelectNodes("//MENUITEM");<br />
<br />
foreach (XmlNode node in nodeList)<br />
{<br />
XmlAttributeCollection attrColl = node.Attributes;<br />
string strSecurityGroups = attrColl["security"].Value;<br />
<br />
if (strSecurityGroups != "")<br />
{<br />
if (!user.InUserGroup(strSecurityGroups))<br />
{<br />
XmlNode parentNode = node.ParentNode;<br />
parentNode.RemoveChild(node);<br />
if (!parentNode.HasChildNodes && parentNode.Name != "root")<br />
{<br />
XmlNode grandParentNode = parentNode.ParentNode;<br />
grandParentNode.RemoveChild(parentNode);<br />
if (!grandParentNode.HasChildNodes && grandParentNode.Name != "root")<br />
{<br />
XmlNode greatParent2Node = grandParentNode.ParentNode;<br />
greatParent2Node.RemoveChild(grandParentNode);<br />
if (!greatParent2Node.HasChildNodes && greatParent2Node.Name != "root")<br />
{<br />
XmlNode greatParent3Node = greatParent2Node.ParentNode;<br />
greatParent3Node.RemoveChild(greatParent2Node);<br />
if (!greatParent3Node.HasChildNodes && greatParent3Node.Name != "root")<br />
{<br />
XmlNode greatParent4Node = greatParent3Node.ParentNode;<br />
greatParent4Node.RemoveChild(greatParent3Node);<br />
if (!greatParent4Node.HasChildNodes && greatParent4Node.Name != "root")<br />
{<br />
XmlNode greatParent5Node = greatParent4Node.ParentNode;<br />
greatParent5Node.RemoveChild(greatParent4Node);<br />
}<br />
}<br />
}<br />
}<br />
}<br />
}<br />
}<br />
}<br />
<br />
StringWriter sw = new StringWriter();<br />
doc.Save(sw);<br />
XmlDataSource xds = new XmlDataSource();<br />
xds.XPath = "root/CATEGORY/CATEGORY";<br />
<br />
xds.Data = sw.ToString();<br />
mnLeft.DataSource = xds;<br />
mnLeft.DataBind();<br />
<br />
|
|
|
|
|
am writing an app that uses the .Net classes TCPClient and NetworkStream to read and write data between 2 machines. All works fine.
I have recently found a need to be able to send Http 1.1 with a SOAP message as the Http body. Currently i am using an XmlDocument to load and parse the SOAP data. However to do this i first have to read in the HTTP header, search for the beginning of the body and construct my own XmlDocument.
There must be a better way. I don't want to call a web service, i just want to send http with a soap body and receive the same.
I am looking for a means of loading in the NetworkStream into some kind of HTTP object to read the http stuff and also load the body into some simple Soap object that can be used to pull out/ set values.
Comments, Suggestions Welcomed.
Carl
|
|
|
|
|
Cross post. Please ignore this thread.
Deja View - the feeling that you've seen this post before.
|
|
|
|