xyzt's Q&A profile
SQL Server Server Time Dimension Questions
I'm trying to utilize the Server Time dimension type and had a few questions: 1) Is the granularity only down to the Day level (i.e. no hour/minute granularity built in ) [ i know i can create custom dimensions to analyze at this level] 2) What type should the underlying data store be exposing it's date I have fields of type "datetime" that contain logically, a full datetime (i.e year - month - day- hour -sec), but these columns don't index into the server-generated time dimension. When I try flattening the date out, I get a strange error: Error 1 OLE DB error: OLE DB or ODBC error: Requested conversion is not supported.. 0 0 here's what my source query looks like (and i've verified in SQL server) SELECT AccountID, CON ...Show All
Software Development for Windows Vista ASP.NET & WF - Performance Issue when number of users Increases
Hi, My query is regarding the performance in the follwing scenario. User is creating a Ticket from asp.Net page which may or may not be sent for approval before processing. The Admin user can view/process the ticket, or can send for approval if required. Whenever the ticket is created , I want to invoke the workFlow runtime to save the state of the ticket and when the Admin user logs , I again want to get the ticket from its latest state using the WorkFlow Runtime. Now , 1) If suppose 1000-2000 users are accessing the Site to create/view their tickets then how many WorkFlow runtime Instances will be created 2) Will it affect the performace of the site 3) If there is only one istance is created the how can we get the corr ...Show All
Smart Device Development Radio Interface Library Privileged APIs
Which RIL functions are priviliged It is not clear from the MSDN page whether these APIs are privileged or not (http://msdn2.microsoft.com/en-us/library/ms924486.aspx). Many of the SMS functions appear to be, but RIL Proxy specific functions are not well documented. Thanks, in advance. Chris You might have a look a http://www.alexfeinman.com/download.asp doc=tapi1.6.zip which works fine for me! I’m using a code like this: Tapi tapi = new Tapi(); Line line = null; int ret = tapi.Initialize(); LINEDEVCAPS dc; if (tapi.GetDevCaps(ret, out dc) == 0) { if (dc.ProviderName == CellTSP.CELLTSP_PROVIDERINFO_STRING) { line = tapi.CreateLine(ret, OpenNETCF.Tapi.LINEMEDIAMODE.INTERACTIVEVOICE, OpenNETCF.Tapi.LINECALLPRIV ...Show All
Windows Forms Adding a record (where tableadapter is created in designer)
Hi guys, I used the designer to create dataset and datatableadapter for my InventoryIn and InventoryInDetails. Now, I'm stacked to adding a record on the InventoryIn table. I did not use the typical drag and dropping of InventoryInTableAdapter, but instead textboxes, datetimepicker is unbound. So I have a button for new and saving. I can't make the adding of record to work.. please help, what should be my code here's my code in the new button this .inventoryInBindingSource.AddNew(); How about in my save button Is it this.inventoryInBindingSource.EndEdit(); t his.inventoryInTableAdapter.Insert(int.Parse(this.supplierIDTxtBox.Text), this.supplierInvoiceTextBox.Text, this.supplierDateSuppliedDateTimePi ...Show All
Visual Studio Team System Standard team project reports have empty parameter combos
Hi, I created a new team project last week, but noticed that when I went to (for example) the "Remaining Work" report, the Iteration combo was blank, and when dropped down didn't contain any entries. I tried forcing a process of the data warehouse, but that didn't help. Also, parameter in other reports displayed the same issue (eg, Work Item Type, Area, etc) Today I tried deleting the project and creating it again, but it's made no difference. All the other projects that already existed on the server behave without a problem. It may be relevant that this is almost certainly the first project created since we moved from the RC to the release version. This project is going live tomorrow, so I could really do wit ...Show All
Smart Device Development GPRS Connect at Startup
Hi again (again), Last question, I promise. I'm looking to start the GPS up wen the device starts. I don't mind changing hte registry for this, or doing it programatically. All the stuff I have found is either for C#, or the registry info doesn't exist in my phone. Once again, any help would be very appreciated. Cheers, Dan. I don't know what I was talking about in the last post, I must have been reading some very strange things. I've implemented it now, and it compiles and runs, but it doesn't actually inialise the GPRS. The GPRS connection remains the same. Here is what I have: CONNMGR_CONNECTIONINFO pConnInfo = { sizeof (CONNMGR_CONNECTIONINFO) }; pConnInfo.dwPriority = CONNMGR_PRIOR ...Show All
Windows Search Technologies Remember Password option
When logging on to a server from client machine of LAN I used to give login name and password after enabling remember password option I am not prompted of the log name and password. The moment the system is started it is automatically loged on to server. the problem is If I wish to logon with different user name how can I do we are having windows server 2003 on server. any help Shobha, This forum is for questions specifically related to Windows Desktop Search. I would suggest asking your question in the Windows Server news groups. http://www.microsoft.com/technet/community/newsgroups/serveros/win2003.mspx Paul Nystrom - MSFT ...Show All
Software Development for Windows Vista creating desktop on vista and launch IE on it
Hi, All I run into some issue with creating a new desktop on windows vista: If I create a 2nd desktop using CreateDesktop (with NULL for security attributes), and launch an IE using CreateProcess() on the 2nd desktop from default desktop, it will be created with medium integrity level and a pop up on the 2nd desktop mentioning that Admin rights is required w/o real IE displayed. However, launch an IE using CreateProcess() on default desktop directly is OK(and in low integriy level). Then I tried launching an IE using CreateProcess() on default desktop from 2nd desktop instead, it works fine with an IE with low integrity level appeared on default desktop. So, how can I enable same behavior on 2nd desktop as the default one - IE c ...Show All
Windows Forms ClickOnce Fails with "Value does not fall within the expected range."
I have a ClickOnce-deployed application installed in offline mode across a range of Windows 2000/XP machines on my network. I now receive an 'Application cannot be started. Contact the application vendor.' error message when I attempt to run the application on my development machine. (It works still on the production machines.) I've run mage -cc, and renamed the '2.0' directory to '2.0x' to ignore its presence. Add/Remove Programs still shows it, and clicking Change/Remove pops up a window for a moment, but otherwise does nothing apparent. I've changed the installation path to be a network path instead of a website, and it still fails. The following is the error log: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Comm ...Show All
Visual Basic Displaying hexadecimal data as float. What sort of result are you after?
My setup is: SQL Server 2005, Visual Web Developer 2005 Express (VB) I have a SQL Server database that gets a large C++ data structure that contains longs and floats serialized as an ASCII string where all bytes were converted to hex. The bytes have to be reversed because of endieness. I have been tasked with creating a page to dispaly the parsed data. I know that I can extract the data in groups of 4 (for the longs) and 8 (for the floats). I can convert the hex to decimal, but it is converting to a very large integer type value instead of the expected decimal. I have tried to search the web, but have found very little to aid. The closest used a function similar to the C++ memcpy. This did not seem to be available in my case. A sample of t ...Show All
SQL Server Telco Cube
I am building a cube for a telco company. There is among others a subscriber dimension and a handset dimension. There is also a dimension to indicate a handset switch. In the source table, this is a flag set to 1 in the month where the switch occurs. I have added this as a measure to count the handset switches and also as a dimension. Other measures are a count of the subscribers and their revenue. I have added a calculated measure to know the average revenue per user. Now I would like to add a measure to know the average revenue before a handset switch and after a handset switch. Is there a way to calculate the average revenue for all months until the handset switch measure has a value and to calculate the average revenue for all month ...Show All
Windows Forms UserControl - Hiding certain properties (design mode)
Hi I have an UserControl , A . This control consists of a TextBox and a Button . A has several user-declared properties, p1 , p2 ... pn . When I add instances of A to a Form, I see all the properties including p1 - pn . If I make another UserControl , B , and add several instances of A to it, how do I get only certain properties of the instances of A visible in the properties window of B For instance, B contains: A a1, A a2, A a3 ; public A A1 { get { return a1; } set { a1 = value ; } } (and so the same for a2 and a3 ) In B 's properties window I only want p1 - pn to be the displayed properties for A1 - A3 . I hope my explanation is understandable :) Kind Regards Thanks, that hel ...Show All
Visual C++ Help with variable/String
hi i was wondering if anyone could help. i am using this small bit of code that will work only in the Event where it is placed but i want to be able to change the data that it holds throughout the program, im using MS VS 2005 C++ and here is the code String^ Species Species= "Dog"; MessageBox::Show( Species); I would like to be able to change the data in the String^ Species from anywhere and not just within the { }. can anyone plz help. thanks Sorry for the delayed answer. If you're using: A^ a = gcnew A(); a->Species = "event1"; inside a function(event handler) then you'll lose it because you have to keep a reference to that object "a" you created. If the event handlers are inside the same class A then use it like this: ref c ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Computing tangents on a skinned mesh
Hi all, I'm trying to find a way to compute tangents on a skinned mesh, but I'm out of ideas. I've used D3DXComputeTangentFrameEx() to successfully compute tangents on static meshes, but this won't work on a skinned mesh, as the function splits vertices as needed to generate the tangents. This causes skinning-related problems later on, in my particular case it causes ConvertToIndexedBlendedMesh() to fail, since the new mesh with tangents no longer matches the skinInfo. The output window specifically says: D3DX: ID3DXSkinInfo::ConvertToIndexedBlendedMesh: The input mesh, pMesh, does not have the same number of vertices as the skin info class So then, how exactly does one go about computing tangents on a skinned mesh I know its po ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Custom ContentTypeReader
Hi, I'm trying to make my own content loader for a custom font file. I've got the custom file to compile using an importer that I wrote, and I can see the XNB file is generated as expected, but the content manager can't seem to find my ContentTypeReader. Here's the writer: [ContentTypeWriter] public class GameFontWriter : ContentTypeWriter<GameFontStub> { protected override void Write(ContentWriter output, GameFontStub value) { output.Write("hello"); } public override string GetRuntimeReader(TargetPlatform targetPlatform) { return "Importers.GameFontStubReader"; } } The game compiles fine, but when it reaches the line: hudFont = content.Load<GameFontStub>("Fonts/main"); ...Show All
