Toni Greco's Q&A profile
.NET Development why should i wirte code in html tagz?
Following is the code that i wrote in asp.net , please i want to know can i write this code in .cs file because i didnt find it how to write any one can help me <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ProductID" DataSourceID="SqlDataSource2"> <Columns> <asp:CommandField ShowEditButton="True" /> <asp:TemplateField HeaderText="ProductName" SortExpression="ProductName"> <EditItemTemplate> <%-- <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("ProductName") %>'></asp:TextBox>--% ...Show All
SQL Server Not displaying in Preview
I am getting values from query But in Preview I am not getting data. for example select id from dealers where dealername='SANROY' I am using id field in layout.There i am getting '0' value.But query is working fine. Please help me.I am struggling alot ...Show All
SQL Server Future with SSIS
Hi, We have a NT service built via Visual Basic 6 which fires dts processes on demand according some criteria. Well, on the whole and basically only for the following rule: -dts process is executed when our service recognize a concrete plain file leaved in a folder. It’s generally generated for a mainframe JCL along with a activator file (.nul file, empty). Each application own a folder and each folder have lots of files as the aforementioned ones. Scheduler for that is an ASP application that lives within a intranet. It also is a monitor and logger In that schema, keeping on mind that eight out of ten are ETL processes, critical ones and on daily-basis, our question is, how to handle on with this stuff using ...Show All
Visual Studio Team System CTP5 - Linked Server Problem
After importing a schema I am getting errors saying I need to add a particular server as a linked server. I have done this but I am still getting errors. Am I correct that I needed to add this linked server on my local laptop (the machine containing my DB Professional project) I've done this but cannot get rid of my errors. Thanks for your help - Amos. This is a known problem in todays build, since we do not track dependencies beyond the project (user database), we do not have a solution yet, but we are working on how to best handle the use of linked server, 3 and 4 part name references. -GertD "DataDude" Development Manager ...Show All
Visual C# propagation of user-type objects through a webservice
Hello, here is my problem: I have written a webservice with several methods that shall be called by a client application and return data in the shape of a user-defined type. This type contains two string arrays and some numerical information and is defined in a dll. The problem shows up when i want to compile the client; i get the error message: Argument '1': cannot convert from 'Conformity_FTP_Client.localhost.ActualDirInfo' to 'Conformity_FTP_Tools.ActualDirInfo' Here is the critical part of the client sourcecode: I'm no remoting guru but I believe you have to have the business object (dll) on both sides of the web service equation. That's the reason for Data Transfer Object (DTO's). So you'll have to deploy the bus ...Show All
Visual C++ I know that i can use LoadFromResource in CHtmlView to load resource in the web browser, but when I embedded a browser in the di
I know that i can use LoadFromResource in CHtmlView to load resource in the web browser, but when I embedded a browser in the dialog how can i get the .htm file in the resource I appreciate your help. Thanks you for your answer. But when I use the Res:protocol, it seems that it did not work for me right now, my code is as folllows: CString strApFileName; CWebBrowser2* m_pWebCtrl; strApFileName="Res://E:\Today\WBP\Release\WBP.exe/html1.htm"; COleVariant vtEmpty; m_pWebCtrl->Navigate(strApFileName, &vtEmpty, &vtEmpty, &vtEmpty, &vtEmpty); I only change the path of html file into strApFileName="Res://E:\Today\WBP\Release\WBP.exe/html1.htm"; Maybe I need to add some stateme ...Show All
Windows Live Developer Forums Lycos mail and Windows Live Mail Desktop
Is there any way to get Windows Live Mail Desktop (WLMD) to work with a Lycos mail account, using the Lycos http mail server. It works with Office Outlook and Outlook Express, but not with WLMD. Any one else had this problem ...Show All
.NET Development Serialized file corrupted aftert TCP file transfer
Hi there, I need to send the contents of a TreeView from one server on a network to another. I can serialize and deserialize the TreeView just fine locally, but after I send it to the target process via TCP, the file gets corrupted; the data containing the BinaryHeader info for the BinaryFormatter is getting stripped out. Here's a small excerpt of the original data (viewed in Notepad) yyyy System.Collections.ArrayList _items _size _version And after the TCP transfer: System.Collections.ArrayList _items _size _version The data is not being corrupted per se, but bytes are being dropped. If it'll help, here's what I'm doing to transfer the files: Server: public class MainIOServer { private T ...Show All
Windows Live Developer Forums live messenger logging on twice
Everytime I log in, messenger tries to run twice on XP pro. It gives me an error that I can only sign on one computer at a time . I've checked the startup and it only appears once. Is there any fix for this and is it a known issue Cheers. I am sorry but this forum is for developmen discussion only. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=368260&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=335030&SiteID=1 I had the same problem and it was the Windows Messenger that logged on also. Run and disable Windows Messenger to start, it is available in the start menu. ...Show All
Visual Studio Express Editions timer_Elapsed
i am creating a simple windows service in vb.net as per the book example but still i am not getting the Elapsed event for the timer1 from the right hand drop down box at the top of the code editor window, as per the book exapmle i am only getting tick and dispose event there I have imported: System.ServiceProcess System.ServicceProcess.ServiceBase System.Timers still I am not getting the Elapsed event at the dropdown plz. let me know how to get that its quite urgent ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question on generating the planes for BoundingFrustum
I was porting my Frustum class from Direct3D 9 and decided to compare its output against that of XNA's. To my great surprise, when generating the planes, every number was the same except XNA's are negated. When looking at BoundingFrustum in MSIL I noticed you negate the left operand and perform the opposite operation (i.e. add instead of sub). I am curious why it is done this way Does it have something to do with the fact that XNA is using RH matrices My D3D9 frustum code for the left plane: m_vLeft . a = mat . _14 + mat . _11 ; m_vLeft . b = mat . _24 + mat . _21 ; m_vLeft . c = mat . _34 + mat . _31 ; m_vLeft . d = mat . _44 + mat . _41 ; D3DXPlaneNormalize (& m_vLeft , & m_vLeft ); The XNA frustum ...Show All
SQL Server Like statement in a filter
In a report I want a parametered filter on a specific text. I tried with the following statement: =Iif(Parameters!Filter.Value="Example",(Fields!Warehouse_Class_Code.Value),"NULL") like %TEXT% But no result. Please help! Thanks a lot! Now I have a filter with two values. A last question: I want a filter with a Label "All" and a value <Blank>. How to show the label "All" as a default in de dropdown on my report I tried the value %. This works in the preview, but not in the HTML viewer. Kind regards, Marius ...Show All
.NET Development Assembly not found when calling C# from my C++ module
Hi, I have a solution with several projects ranging from C# to mixed C++ (managed and unmanaged). Inside my managed C++, I am able to add a C# module as a reference, build, and link properly. However, at run time, when I try to use any type of the C# assembly (the system will load the dll at that point), an exception is thrown saying that the C# dll module can not be found. The C# dll is sitting in the same directory as my C++ module. I also checked that the C# module doesn't have any other reference that may be missing. It's a simple C# assembly. Is there any issuewith C++/C# interop that I'm missing Any project settings I need to set Thanks! Internet Explorer is the executable. IE loads ...Show All
Visual C# how to set precision for double value?
Hi, double dec = (double)d * 45.00 / 1023.00; In my application, there is a calcuation gives a double result. I want to display it on a label. however, the lenght of the double value is too long... How to set the precision of the double value to 3, such as 3.489 and ignore the other digits. Is there any choice for the rule as "Smaller than 5, just ignore it; otherwise, add 1 to the last element of the value". I do not know how to explain it in English... I think this should be a simple problem. However, I searched around and could not find a solution... Any suggestion for searching such basic information Thanks a lot! You can use the Math.Round method, which takes a double (or decimal, which I r ...Show All
Visual Studio SourceSafe integration and "Show Differences" dialog
Having successfully developed a C#-usercontrol "VSSBrowser" using VSS OLE Automation, I was sad to see that it's impossible to invoke "Show Differences", "View/Edit" and "Properties" dialogs via OLE. And that's the last thing left to get a fully functional control. I googled a bit and found out that "Microsoft SourceSafe SCC Provider" (SSSCC.DLL) should be used to invoke those dialogs. I examined this DLL with "Dependency Walker" and seems I even found the necessary functions; at least two of them - SccDiff ans SccProperties. The problem is that I have no idea of how to use this API in my C# project. I couldn't find any samples or articles in the Net; at the same time I remember t ...Show All
