reuven_s's Q&A profile
Community Chat WebBased cookieLike application
I wonder if anyone out there is working on a web based application to maintain userids and passwords. What I mean is that I'm pretty much annoyed with having to remember passwords and userids to the gabazillions of websites I'm registered on. Cookies are fine till you are working on your own PC but how about some freedom of movement Just log into the webbased cookieLike (I even gave it a name) application, have it do the sweatwork of redirecting to your registered website of choice and automatically logging you in. No more remembering passwords. This is my first post so I'm not really sure if this qualifies as a "Hot Technology" post but oh well :). Off course some bigger compani ...Show All
Visual C++ CMenu memory problem
Hello, I have created a CMenu object using runtime reousrce which is not MFC resource but my own. I use it in this method: where m_mainRootMenu is the CMemu (data member of CMainFrame). void CMainFrame::ReloadResource(){ ResourceLoader rl((*this), m_mainRootMenu ,m_toolbarsList); rl.Reset(); rl.ParseResourceXml(CString(RESOURCE_XML_FILE_NAME)); } void CMainFrame::InitMenu(){ ReloadResource() ; SetMenu(0); BOOL res = ::DestroyMenu(m_hMenuDefault); SetMenu(&m_mainRootMenu); m_hMenuDefault = m_mainRootMenu.m_hMenu; } It works fine in a small project that don't do anything actualy, but when I have inserted it to much more complex project, I get this strange problem: the CMenu data member m_hMenu is updated to some address ...Show All
SQL Server Here is one more failure that I can not get by . . .
This error continues to occur even after a couple of uninstalls and re-installs, only to result in the same error. I can send the logs if you like, but they are large, so this is the short popup I am getting: ( I can't paste the message, but here is the text: The installer has encountered an unexpected error: The error code is 2331. Error loading library C\program files\microsoft SQL Server ... sqlca.dll or finding entry point. The specified module could not be found. Here is a better message out of the event log: Product: Microsoft SQL Server 2005 Notification Services -- Error 2331. The installer has encountered an unexpected error. The error code is 2331. Error loading libra ...Show All
Visual Studio Express Editions Help on code
I have written this case statement and the only result I seem to get is access denied when I place number in the text box I have a text box a lblDisplay and a button Private Sub btnPush_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPush.Click 'declare variables Dim pass As Integer 'Input txtPass.Text = pass 'Process Select Case pass Case Is < 1000 lblResults.Text = "Access Denied" Case 1001 To 1500 lblResults.Text = " Welcome Technician" Case 1501 To 2000 lblResults.Text = " Access Denied" Case 2000 lblResults.Text = " Welcome Custondian" Case 2001 To 2999 lblResults.Text = &q ...Show All
.NET Development Managed callback function and new thread in COM server
How to make a managed callback function invokable for a new thread in a COM server Hello! I would like to write a .NET wrapper for using ASIO sound drivers in .NET. To play a sound file you have to write sound data periodically to a sound buffer. This is usually done in an extra thread. An ASIO driver (a STA COM server) notifies an application when it is time to fill the buffer. Therefore the application have to deliver a function pointer to the driver. In that callback function the application has the chance to write new data in the sound buffer. The problem is that the driver creates a new thread that will call this callback function. Note that other callback functions that are not called from this extra thread work ...Show All
Visual C++ errC2719 formal parameter t with declspec(align(16) won't be aligned??
I have no idea how to fix it. Any suggestions appreciated. typedef union { struct { __m128d xxx,yyy;} __declspec ( align (32)); double a[4]; } vDouble; static inline vDouble vShuffle1dx(vDouble t, int a, int b, int c, int d) { vDouble result; result.a[0] = t.a[3-a]; result.a[1] = t.a[3-b]; result.a[2] = t.a[3-c]; result.a[3] = t.a[3-d]; return result; } If you replace " vDouble t " with " const vDouble & t ", then the error disappears. I hope this is suitable, since the function is inline. ...Show All
Windows Forms Application Lockups with VS 2005
The application is built in VB.NET in VS2005. It builds fine and the exe is installed. The application exe works fine but will lockup on occassion. For example, If I go away from the application for about 20 minutes it will lock up. If a screensaver starts it will occassionly lockup. Just this application and not any others. Any ideas Sadly I cant give much more details then I have. The only thing I can think of is this is happening when I am running the exe from another server vs having it on my machine. Extra Info: 1. Latest windows updates. 2. VS 2005 application created in 3 tiers (PAL, BLL and DAL) using VB.NET, SQL Server 2000. 3. EXE is compiled in release format. 4. Ap ...Show All
SQL Server Simple Calendar Parameter question
This is probably pretty simple, but i've never done it before. Im trying to put a Calendar up for the parameter, So they can click a date on the calendar, and get it quiered. Is this done in the dataset or in the report Parameters and what do i need to do Nope, it keeps giving me an error. Now it says the Datatype is wrong. It will only work as a string. There has to be something wrong. Or maybe it just doesnt do numbers like this 1999 Quarter 1 Jan 1, 1999 Jan 2, 1999 Jan 3, 1999 I just feel like im not getting anywhere with this. Maybe i need to download a custom calender code or something. ...Show All
Visual C++ Windows Pipes Tutorial
Can anyone recommend some good tutorials, articles or books on using Windows Pipes for interprocess communication Thanks ...Show All
Visual Studio Team System Project Alerts for Work Items Assigned to you
Is there anyway we can create a project alert to alert users whenever a new work item has been assigned to them Thanks, Maggie See here to fix empty subject line problem: http://blogs.msdn.com/jefflu/archive/2006/08/02/686268.aspx ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How Do I Determine The Currently Visible Area?
I'm building a 3D game and currently have everything working, but I'm in the process of optimizing my framerate. The world in the game is many times larger than the screen/window. How would I go about determining the world coordinates that are visible on the screen Even though the objects outside of the viewport are clipped, the draw code still has to translate (and rotate) the meshes in the objects (many of which will be clipped). It would be much more efficient if I could just not process meshes that will be outside of the screen. Thanks! Yes, thats a usual problem when overcompensating for speed issues, glad to have helped. using a frustr ...Show All
Smart Device Development Windows mobile 5 - using tapi
Hi, I try to use tapi.dll to manage modem connection. Here http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcetapi/html/cmconTelephonyAPI.asp I found some information about tapi.dll and coredll.dll. I'm quite confused which dll I have to use. I wrote this code [ DllImport ( "Tapi.dll" , EntryPoint = "lineInitializeExW" , CharSet = CharSet .Auto, SetLastError = true )] private extern static Form1 . LineErrReturn lineInitializeEx( out IntPtr hLineApp, IntPtr hAppHandle, LineCallBack lCalllBack, string FriendlyAppName, out System. UInt32 NumDevices, ref System. UInt32 APIVersion, ref Form1 . lineinitializeexparams lineExInitParams); But ...Show All
Visual Studio 2008 (Pre-release) will LINQ/vNext support database driven enums?
I was at Pablo's awesome presentation for vNext at TechEd, and am really looking forward to getting my hands on this stuff! One question I had, is there any support in LINQ/vNext for database sourced enumerations IE, if the database is populated at compile time, generate an enum based off of the values in the database for say status codes. Then optimally at runtime, re-emit a new enum with the values that are currently in the database. This would allow for great intellisense and range checking for the developer for "well-known" status code values, but still allow for expansion for dynamic values out of the database for display in say a combo box. Also, all of those areas could use Enum syntax, rather than just random consta ...Show All
SQL Server Formatting Parameter and Field Dates
I'm new to Reporting Services so bear w/ me, I'm having troubles with formatting the parameter and field dates. To resolve the Field dates I just formmated them in the query, but I still haven't found a way for the Parameter fields. The date parameters is passed as YYYYMMDD(oracle number data type), and I want to format and display it as MM/DD/YYYY. Any help would be appreciated, also would like how to know how this works for the field values as well, Thanks, Nick If you want to change the format of the parameter (assuming that your referring to a date parameter) you can use this one: =Format(Now(), "MM/dd/yyyy") Click on the "Tools" then "Report Paramet ...Show All
SQL Server Can I build a cube using a SQL data source and a DB2 data source
We are trying to build a cube using data from SQL and DB2. Is this possible and if so, how db1 - SQL Server 2005 db2 - DB2\AIX64 We are using the Microsoft OLE DB Provider for DB2. On issue is encountered when defining the DB2 connection; AIX is not an option for the OS, so we are using DB2\NT. I can get both Data Sources defined and the connections test successfully. I can get both Data Views defined just fine. When I build the Dimension using the DB2 Data Source, the only way to get it to process was to Check the box in the SQL Data Source definition that read something like 'Maintain a references to another object'. That actually changes the Provider in the connection string to DB2OLE ...Show All
