jessica duarte's Q&A profile
SQL Server OLEDB AS400 Pipeline threads
A simple dataflow : Data source OLEDB AS400 : - data access sql command from variable SELECT 'DEN' AS "Company","TDEN.IHD".* FROM "TDEN.IHD" WHERE (ORDNI1 > 48960) Data destination : OLEDB Sql Server File - No Problem when Data Source is executed As Sql command Purpose : Load (new) data from AS400-files and load them in the corresponding sql server table. Therefore each day the maximum ordernumber in the sql database is searched And given to a script which makes an sql command user::SqlSelect. All This this to prevent loading each ...Show All
Windows Forms Host Controls...Invalid cast
Hi all, I'm trying to create a new cell within the new DataGridView (.NET 2 Beta). For example, I'm trying to create a cell which contain a RichTextBox, I succeed with the appearance of the rich text box controll but there is a lot of irregular behavior. Does someone did it already(not particular with RichTextBox) and can send an example. Unfortunately Microsoft example in the link below doesn't accessible. http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.asp 10X in advance, Nir Oren I have successfully created a Calendar Control (after fixing Microsofts ...Show All
Windows Forms Printing Children
How can I set my menu to print a child if it is open If the child is not open, I don't want it to print. In fact, I want the print option disabled. Except, of course (for those reading this later), it didn't--you need to use the Popup event, not the Click event, to get this to work correctly. (Just updating the th ...Show All
Windows Forms To Hide Print Status Box
I want to print multiple images from my window form, i'm using PrintDocument and PrintDialogBox for this. While printing it shows Print Status Box displaying printing page staus. I want to Hide this status Box. Can anyone suggest me how i can do this. I'm using C# lang. for this Hello Hit, Did you find the solution to your problem. If so please post the solution even I am having the same problem and I tried pretty much everywhere but I cant seem to find the solution. Thanks Senthil ...Show All
Visual C++ Structure deletion?
I got a dynamic structure array in a class. In that classes destructor I delete a pointer to the said array. That deletion causes an error! After that, I tried to free(pArray) but this also causes an error. Is it necessary to delete this pointer at all I heard that sometimes C# performance in DirectX is not good, but this is because incorrect usage of C# (something about GC in fact). If you get some numbers - post them, so other people can see facts! ...Show All
.NET Development BC30451: Name 'dateTimeLabel' is not declared.
I have installed Visual Web Developer 2005 Express Edition as well as SQL Server 2005 and am working on my first web page. I'm a newb so please respond in an elementary dialect. Below is the page event that I am trying to start debugging; Partial Class Authors Inherits System.Web.UI.Page Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load dateTimeLabel.Text = DateTime.Now.ToString End Sub End Class On the fourth line here (it's actually the 6th line in the BC30451 error message) the "dateTimeLabel.Text" seems to be incorrectly in ...Show All
Visual Basic What's wrong with this code?
I had this code that i am supposed to use for my current project...Using Crystal Report, I want to sort the record by entering the two dates (dtpFrom, dtpTo), the name of the company(FINAL2.COMPANY), the description(FINAL2.Description) Private Sub ConfigureCrystalReports() Dim mySelectFormula As String = "{FINAL2.Order_Date} >= #"" & dtpFrom & "#" & " and {FINAL2.Order_Date} <= #"" & dtpTo & "#"" & " {FINAL2.COMPANY} > Maxicare " _ & "AND Mid({FINAL2.Description}, 1, 1) = ""C"" " myCry ...Show All
.NET Development DNS Resolve problem in .NET 2.0????
I can type an IP address and receive Internet domain name and my workstation name however no other IPs of computers on our internal network will resolve to a thier machine name only to the same IP that is entered. What's up Microsoft I can say that before we switched over .NET 1.1 to 2.0 the Dns.Resolve(entry); would find a name for any IP, LAN or WAN. Q. Any ideas [This is new .NET 2.0 method that replaced the former .Resolve method] private void LookupIP(string entry) { try { IPHostEntry IP = Dns.GetHostEntry(entry); txtBox2.Text = IP.HostName; } catch(Exception exception) { ...Show All
Visual Studio Express Editions Can I Create an Access DataBase Without Access?
I don't own Access and this is for Learning Purposes.... Can I create an Access DataBase with my own Schema(I guess that's the word) with VBE or any Other Way I downloaded Northwind.... Can I change Northwind schema without Access Thanks Yes. I know you could do it with DAO. I'm not sure about ADO. Since ADO.NET is a little less faciliated in persisting, the USE of ADOX has been recommended to me for things like table creation and storage and I find that it works very well with VB.NET. I've installed systems based upon access databases on on target systems that did not have access. I ...Show All
Visual C++ Exporting const static data members to dll
Hello there, I am using VC++ 2003. I have a class somewhat like this: // C.h class __declspec(dllexport) C { public: const static float CVALUE; static void foo(); }; // C.cpp const static float C::CVALUE = 10.0f; void C::foo() { } When I attempt to call C::foo() from an external program using my dll everything is fine. When I attempt to access C::CVALUE I get a linker error like this: error LNK2001: unresolved external symbol "public: static float const C::CVALUE". I checked the dll with Depends.exe and it seems that the symbol C::VALUE is being exported. Do you guys have a ...Show All
Visual Studio Express Editions arrays? maybe I am wrong! Help me out!
Hello all, I don't have a problem but I am lost to even start with... Okay, I have this list box... say, call it staffList and lets say that these are the values of staffList ----------------------- Fred.jpg George.jpg Greg.jpg Anna.jpg Alice.jpg Betty.jpg ------------------------ and I want this to be an XML in this form----- --------------------------------------------------------------- < xml version="1.0" encoding="UTF-8" > <SIMPLEVIEWER_DATA maxImageDimension="480" textColor="0xFFFFFF" frameColor="0xFFFFFF" bgColor="0x181818" frameWidth="20" stagePadding="40" thumbnailColumns="3" thumbnailRows="3" navPosition="right" navDirecti ...Show All
Windows Forms Docking Windows in .NET
I would like the Visual Studio .NET like docking windows in my application. These docking windows has their own title bar, close button and also can be docked. Please help me to find out how to create these. Is there any controls out there which is good for this. Thanks Jijo G John Hi! www.dotnetmagic.com controls are very cool, i think that www.devexpress.com &nbs ...Show All
Software Development for Windows Vista WorkflowSubscriptionService and Persistance
If i have a workflow waiting on an external event and the subscription service would have been notified of the subscription. There is a persistance service in use so the workflow is unloaded on idle. The question is once i restart the workflow runtime (say after a restart) does the runtime recreate my subscriptions based on the waiting workflows or do i have to track the subscriptions in a resilient store myself When an event comes in with the WorkflowID, the runtime first checks if the workflow is in memory, and if it is not, it will call to the persistence service to load the workflow. ...Show All
Software Development for Windows Vista Making Persistent State Machine WorkFlows
Hi I am a beginner in the Workflow foundation. I have made a workflow using state machine workflow. Can any one pls help me to make the workflow persistent. I need to store these values into the DB and then retrive it when the app user logs back into the application any help would be highly appreciated thanks in advance Bala Hi Bala, There are samples regarding using Out Of Box SQL for Workflow persistence and Custom file persistence. If you have installed Windows Workflow Foundation you will have to run the sql scripts for OOB SQL which should be located at - C:\Windows\Winfx\v ...Show All
Visual C++ socket programming-receive() function
Hi, When executed the following,The receive() is returning 18 bytes of data(p=18). But the buf variable is having only 14 characters. SO, i am getting assertion error at i=14 .Can anybody help Here m_connectsocket is an object for class derived from CSocket. void CSockMFCDlg::onreceive() { char buf[256]; Sleep(5000); int p=m_connectsocket.Receive(buf,256); if(p==SOCKET_ERROR) MessageBox("Error in receive",NULL,MB_OK); else { CString s,readbuffer,soutput; readbuffer=(CString)buf; soutput = ""; for(int i = 0;i < p;i++) { if (soutput == "") { s.Format("%d", (int)((unsigned char)readbu ...Show All
