el-chema's Q&A profile
Visual Basic filling a bitvector32 in a loop
Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Ok, You're right I think we need to back up and develop a common vocabulary. It looks to me that you trying to extract various bit fields out of bytes and combin ...Show All
SQL Server RS 2005 - Report model using Analysis Services?
Hi, Does anyone know if its possible to create a Report Model that can use Analysis Services as a datasource Im using RS 2005, connecting to AS 2005. I've looked into creating a report model, which requires a Data Source View. It seems that you cannot create a Data Source View based on an Analysis Services connection - as far as I can tell. Does anyone know if AS data can be used in a model Many thanks Jeremy Thanks for the replies. I have finally found a way to do this. You can: 1.Go into SQL Server Management Studio 2.Right click on the Models folder and create a new Analysis Services datasouce 3.Then you can right click on the new AS data source and select 'Generate Model'. ...Show All
SQL Server Enumerate SQL Server built-in functions
Hi I am trying to build a tree similar to the one in SQL Server Management Studio for the system functions in the SQL language. I would like to group them by type (e.g. string functions) and display information about the parameters and return types, etc. Is there a way to get these programmatically I would like to avoid typing them out by hand. Thanks Chris Hi Chris, I'm not sure this is the right forum for this question. You can retrieve this information from the sytem views. E.g.: select ob.name as func, parms.name as parm, parms.parameter_id as pid, ty.name as type from sys.all_objects ob, sys.all_parameters parms, sys.types as ty where ob.type = 'FN' a ...Show All
Internet Explorer Development IE7 shows URL in title bar
Hi, We have classic ASP application. For some windows user the webpage shows URL in title bar and for some user it does not show the URL. I do not want to show URL in title bar, but could not find what IE7 setting to use. Thanks. This is happening to our app, but only for a few users. So it sounds like a setting. Did you ever find out what the problem was ...Show All
Visual Studio Team System Work Item customization
Can a field be presented as radio buttons (i.e. toggle on/off) Looks like the only way to do it is to give a field two possible values (Yes or No). Is this so Thanks, Maggie It depends on whether you want to write some code to make that happen. By default, no you can't have radio buttons. You can have a list box with Yes or No, as you mentioned. However, with SP1, you can create your own custom controls. So you could build a custom work item control that displays information as radio buttons. ...Show All
SQL Server TEMPDB Grew to 118 gig
I have one sql server 2000 that the log file grew to 118 over weekend I have since shrinked it.... I am monitoring it and now the MDF is at to 16 gig.... It seems the MDF and LDF are grewing at increasing rates. If i look in current activity i see locks/objects I always see tempdb.dbo.##lockinfo65 Lock type Tab Mode X owner xact But im not sure that means anything to me. This seems to have only started happening. Its almost like the checkpoint is not happening...(I was under the impression that tempdb does the checkpoint once its finished) How ofter does checkpoint occur how can i determine if it working or not Tracey Im not sure it happened at weekend....i got the error in log o ...Show All
Software Development for Windows Vista how to pass data between two activites
Hi, I am new to WF. In my workflow scenario, there are more than one activity. I want to pass data from one activity to next activity. Is it possible in WF If so, could you please tell me the way to pass data between two activities. Thanks & Regards, Chakri. yes. In some examples, ActivityBind and WorkflowParameterBinding classes are used for binding properties. In some other cases, ActivityBind class is used to bind the properties. Can you explain when and why will use these two classes -Chakri. ...Show All
Smart Device Development Proxy Connection
hi! i have some problem with the setup of proxy of my smartphone. i want to direct all the traffic of all my programs of my smartphone to a specific port of the smartphone. can i do it how can i setup a proxy connection to the same smartphone to a specific port (how can i setup the proxy to do this ) if i set the address to: 127.0.0.1:xxxxx it should work yes, i have a program that listen the specific port and recive the data. but my problem is setting the "Connect From:" and "Connect To:", i don't understand how it should work. ...Show All
Visual Studio Express Editions Return type of a function in a dll
ABC_STATUS ABC_Init(HWND hWnd, UINT messageOffset ); //hWnd Handle to window waiting a message. //messageOffset Offset value of message ID. The above code is a VC++ dll and i am using it in C#. The returning variable ABC _STATUS contains values as: ABC_STATUS ABC_NORMAL : This function succeeds. ABC_E_BUSY : This function is work in progress. ABC_E_START : This function fails to begin thread. Tell me how to get the value of the return variable ABC _STATUS in C#. Willfin ABC_STATUS ABC_Init(HWND hWnd, UINT messageOffset ); UINT is the Offset value of message ID. Tell me how the messageOffset is obtained and how the message ID is fi ...Show All
Smart Device Development C# textbox cursor position
Two questions. 1)Is there a cursorposition command for Textbox. 2) can string[0] be used as a char. This forum is for C++ related questions. Please post this question to http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=33&SiteID=1 Thanks, Achal, VSD, Microsoft ...Show All
Smart Device Development Help with Invoke on CF
I have been trying to nail this problem for a week now, but can't seem to get it right. I am building a Jabber application for the PocketPC and am using a third-party component for n-software. The n-software component does the usual things: expose a connect method, but also an OnSync event that fires when the device has logged into the Jabber server successfully. The OnSync THEN downloads the Jabber Roster (ala MyBuddies). Once I have these buddies, I want to parse them and put them, by group, into a TreeView. The issue is the old threading problem. I can't get the TreeView to load the Roster. ANy help would be appreciated... THANKS. My code is as follows: Delegate Sub MyEventHandler(ByVal sender As Object, ByVal e As nsoftware.IPWor ...Show All
Visual C++ How to convert the DEC to HEX type??
Hi ~~~ I have a problem. I can't convert the dec to hex Example int qq = 100; how to convert to hex (Not : 0x100) I want to convert the "qq" . Or how to convert the string "100" to "64" (dec type convert to hex type) Thanks for your help!!! Hi!! Thanks your answer... But I don't understand that strtol("100",NULL,10); ←it means what and ltoa(i,buffer,16); ←it means what Because I can't find them from MSDN Library....... And I'm sorry....I made something wrong!! I set qq is String like this (String^ qq) and qq = "123456", the "123456" is catch from other's some segment...so it's not has the range or mayb ...Show All
Software Development for Windows Vista Campaign using workflow
Hi, I am starting on an assignment where I have to implement a solution for running a campaign. As I was looking for options I came across windows workflow which looks very interesting but I need help on how I can model my requirements using the same Assume the following steps in the campaign 1. Start 2. Run a query & act (for each row in the resultset perform an action like send email) 3. On Event 3a.1) Response received 3a.2) Generate coupon & Send email 3a.3) End 3b.1) Wait for condition to be true (elapsed time is X hours/days) 3b.2) Run a query & act (find those who did not respond and send reminders 3b.3) End Questions 1. I am assuming that the definition of the campaign (in terms of number of steps, queries and ...Show All
SharePoint Products and Technologies Create Web Parts Using VS Express 2005 ?
I am doing a small project which requires a few web parts for SharePoint, although I do not have access to the full version of Visual Studio. Is it possible to create web parts using either C# Express or Visual Web Developer Any help would be greatly appreciated. Thank you :-) ...Show All
Visual Studio Team System Contributors are unable to view/create work items - TF24042
Hi, I have an issue similar to that posted in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=790131&SiteID=1 in that when members of the contributors group try to create work items they get the error TF24042 permission denied. No work items are listed when trying to view all work items. I have confirmed that the contributors group have the view & edit work item permissions, and the result from both queries suggested by Sam Heald in the post above return 0. I have found the following entry in the application log: Event Type: Warning Event Source: SQLSERVERAGENT Event Category: Job Engine Event ID: 208 Date: 19/12/2006 Time: 10:50:00 a.m. User: N/A Computer: TMPGEORGETFS Description: SQL Server Scheduled Job 'TfsWorkI ...Show All
