honkywater's Q&A profile
Visual Basic when I m developping, clicking a control once in a form goes directly to the code window
Hi dear, While I m developping (not runing the application), When I click my existing control which is already part of my existing form in order to move it to another location within my form, I get switched to the code window mode instead of staying in designer mode, and tht prevents my from moving my control. So, please if u can show me how to stay in design mode when clicking the control once. Thanks ...Show All
.NET Development Determining which processor a thread is currently running on
I realize that by using: ProcessThread.ProcessorAffinity i can set which processor I can have thread run on. But if I dont set a processor preference, is there a way to determine which processor the thread is currently running on I could not find any methods or properites to help with this in both the Thread and ProcessThread class. Thanks, Randy The GetCurrentProcessorNumber function returns the number of the processor the current thread was running on during the call to this function. DWORD GetCurrentProcessorNumber( void ); Parameters This function has no parameters. Return Values The return value is the ...Show All
SQL Server Do I need SSIS to process cube?
There is a function called "proactive caching" in Analysis services. It can: ----Automatic synchronization with the relational database ----No more explicit "cube processing But I cannot have the latest data in the cube even I set the proactive mode as "real time" Do I need SSIS to process cube in this case Following is the procedures I have done: 1. test the data 1.1 use the bi dev studio to browser the cube, ensure no new data are there 1.2 process the the cube and browser the data, ensure new data are there 1.3 delete new data from source database and reprocess the cube, ensure no new ...Show All
Software Development for Windows Vista No templates show after installation of WWF
I attempted to install WWF yesterday but was not successful. 1) Installation was on a "clean" machine Win XP SP2, VS 2005 already installed. 2) I installed the WinFX February CTP WinFX Runtime Components. Installation was apparently successful (no error messages). 3) I installed the Visual Studio 2005 Extentions for WWF Beta 2 (EN). Again apparently no errors (Took almost two hours over a DSL connection). I have no new project types in VS. Thinking that I might have had to install vs specific components, I downloaded and installed vsextwfx.msi (Dev tools for WinFX). Clean install and I now have "Avalon" projec ...Show All
Visual Studio Express Editions How to connect a data base in SQL SERVER
Hi I have a little problem, i like to connect my data base in SQL Server to my project, but i don't find how to connect a bd. Help-me reagards Take a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=292208&SiteID=1 Thanks, Ayman Shoukry VC++ Team ...Show All
.NET Development TCP Connections and Web Service Calls (Reposted from WebServices newsgroup)
Hi Everyone, I have a windows service which consumes a web service on a separate machine in our network. I modified my machine.config to allow my service application to make 200 connections to the server at once, and I spool up to 200 threads at once to make calls to the server. All of this works great and as expected. However I have noticed that by default the underlying connections tend to stay open for about 90 seconds after my web service calls terminate. So if I use a tool like TCPView I can see that I still have hundreds of connections that remain open even after explicitly calling the .Dispose() method of my proxy objects. Is there a ...Show All
.NET Development Accessing COM+ from a different machine
Hi Guys, I need to access a COM+ which is located on a different machine. What is the correct procedure to do it I tried exporting the COM+ as an MSI file, and installed it on my comp, and from dotnet when i try to add a reference to the COM object(which i installed on my comp), an error is shown saying 'Type Library was exported from a CLR assembly and cannot be re-imported as a CLR assembly'. How do i reference to that COM+, is there a programatic way of accessing the COM+ and its methods does any have an idea abt this regards, abhi Just ping the netbios name of the machines. 1. Right click on your My Computer ...Show All
Visual C++ _beginthread() issues...
I am having trouble sending parameters to a thread via the _beginthread(void(*)(void*),unsigned int,void *); call. I just want to send a single integer... this is how I do it now: void main(){ int x; _beginthread(threadMain,NULL,x); } void threadMain(void* x){ //blah }; I have tried every form of casting that I can think of, in both the parameter sent and the parameter received. Hi, I think if you try like below, it should work out for you. void main(){ int x=100; _beginthread(threadMain,NULL,&x); } void threadMain( void * x) { int y = *( ...Show All
Visual Studio Team System HTTP Status Code: Unathorized - Unathorized
I have a team member who is getting an error trying to save a NEW work item. She receives a popup alert that states: "HTTP Status Code Unathorized - Unathorized" However, she is able to modify existing work items. I looked at the event log on the app-tier but don't see any errors. Any ideas ~slee Ok, it appears this might have something to do with attachments. If we removed the attached file that was originally there it saved correctly. We were able to go back and add the attachment again. ANy thoughts ...Show All
Windows Forms Datagrid Tab Navigation through column
I have some hidden fields in the datagrid. While doing tab navigation i need to set to set the focus to visible fields only.Ciurrently the focus moves to the hidden fields also. Kindly let me know how can i solve this. Thanks in advance. Didn't look hard enough!! http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp#q857q Joe ...Show All
Visual Studio Tools for Office Accessing a Pre-existing Shape on a Worksheet
I am attempting to access a Shape or Drawing Object on a worksheet to change its Onaction, ListFillRange and LinkedCell. In VBA, you did this: sheet.DrawingObjects("name").OnAction= "action" sheet.DrawingObjects("name").ListFillRange= "ListFillRange" In C#: I can get access to a Shape object: sheet.Shapes.Item("name"), -- gives me access to OnAction, but not ListFillRange or LinkedCell. I have tried this: //gets all Drawing Objects on a sheet Excel.DrawingObjects d = (Excel.DrawingObjects)sheet.DrawingObjects(missing) ; return (Excel.DrawingObjects)d.Item(name); //crashes here The problem is ...Show All
Visual Studio Express Editions MDI Taskbar?
Does anyone have a mdi taskbar class or somthing. I cant find one good example anywhere :'( The MainMenu and MenuStrip classes can automatically display a list of open MDI child forms. Do you need more than that ...Show All
Software Development for Windows Vista Index was outside the bounds of the array in Windows Work Flow
Hello: I am using OrderingStateMachine workflow application that came as a part of Windows SDK Samples and tried to use OrderLocalServices and OrderWorkflows as a part of ASP.NET application, which I am able to do successfully. Now, when I tried to change OrderWorkflows.Workflow1.cs by adding a new state or even a new event inside existing OrderOpenState (In short any change to the workflow), It gave me Index was outside the bounds of the array error as soon as I tried to refer to workflowRuntime through either of following statements: if ( WorkflowWebRequestContext .Current== null ) or workflowRuntime.StartRuntime(); I ...Show All
Software Development for Windows Vista Tutorial - Lab 4 Ex 1 Tk 4 St 10 & 11
FYI - I could not get the designer to see Workflow1.OrderEvtArgs (or Workflow1.OrderSender) until I changed the access level from private to public. protected didn't work either. According to the docs, Beta 2. The doc files are all dated 1/11/2006. They came out a the file "Microsoft Hands-on Labs for Windows Workflow Foundation Beta 2.msi", which came from http://www.microsoft.com/downloads/details.aspx FamilyId=5DF74E3B-FB51-4A94-A11D-DFF70288A8BB&displaylang=en . If you know of a later version, point me to them. ...Show All
SQL Server Cannot import Oracle data with OLE DB
I have a column in an Oracle source system with data type NUMBER(38,2). The value "-0.01" is causing problems when trying to import into a SSIS data-flow. The only way I can import this into my data-flow is by using a Datareader connection manager using the ODBC Data Provider. My DSN is using the Oracle ODBC driver. If I try and use the "Native OLE DB\Microsoft OLE DB Provider for Oracle" I get an error: " The data value cannot be converted for reasons other than sign mismatch or data overflow " Judging by this post: http://microsoftdw.blogspot.com/2005/11/final-storyhow-to-get-data-out-of.html there aren't really any other co ...Show All
