Andrew A's Q&A profile
Smart Device Development Data Push
I have data stored in the oracle database. I will have an application (or web) server (for WAP Push) How can I do when data in the oracle database is updated, the program in the application server will know and PUSH the updated data into the smartphone Can SQL 2005 do "Pushing" like this Are only SQL2005 & Exchange Server 2005 can do "PUSH" The objective is that instead of the smartphone always ask the server what is changed, the server application will detect the change and automatically tell the mobile unit.... P.S. can anyone tell me more about the PUSH technology If you want to know about SQL Server mobile-data-sync scenarios than you should look into this p ...Show All
Internet Explorer Development Icon in the address bar
does anyone know what i can do to get an icon to show up in the address bar beside my website instead of the ie icon much appreciated Wayne Hello, I tried put that in my main SharePoint Portal page, and the icon didn't show up. Did I missing some step. I have the xxxxx.ico in the http://xxxxxx.xxxxxxx.com level and hav it link to it just the instruction stated (in the Header tag). When I put http://xxxxxx.xxxxxxx.com/xxxxx.ico try to see if I can see the icon and i saw a red X image. The icon is fine showing in the regular file folder. Any help I appreciate it. Thanks ...Show All
SQL Server SQL Server 2000 Query Problem
I'm having trouble coming up with a query in SQL Server 2000. Trying my best to sum it up in one sentence; I need a result set that for every EventID/StartDate that exists in tblEvents, I need all StartDates within x days to have a minimum sequential, unique number starting at 1. Now I'll go into some more detail and possibly confuse everyone. What I have is a table of events that to simplify this question include only an EventID and an StartDate field. What I need to do is for each event, find the other events that occur within x days after the event in question. I then need to number the events starting at 1 so that each eventB that occurs within x days of EventA has the minimum number different from any events from the past x days. I ...Show All
Visual Basic Class not registered
I just transferred an app from one computer to another and upgraded from VS 2002 to VS 2005. After doing this, I'm getting several errors, the most common one being: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). The error occurs on the line that says InitializeComponent() at the end of the region "Window Form Designer generated code" for one of my forms. I looked at my classes in the Class View window, and they appear the same as those on my other machine w/ VS 2002. What do I need to do to register this class Hi, Tools->Options->Debugging->General : Enable just my code I have that active and can break and step into InitializeComponent, so I gues ...Show All
Software Development for Windows Vista Going from WDK5308 to WDK5320, now getting U4004 warnings
I'm trying to build my project from the command line under WDK 5320 and now I'm getting warning U4004 ("too many rules for target") for a target in my makefiles when previously under WDK 5308 everything built without any warnings. The makefiles have not been changed between updating the WDKs and the build process has remained the same. Why are my makefiles suddenly broken under this new WDK To be a little more specific, I have a target in many different leaf directories in my source called LastStep, which basically copies objects and executables to another location and does some clean-up. This same target is in many different makefiles in different directories and always worked without any kind of warning in WDK 5308. ...Show All
Visual Studio 2008 (Pre-release) Triggers!
Hello everyone, I am trying to create a trigger that is true to have it change a property value of a different element. Here is an example <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006 "> <StackPanel> <StackPanel.Resources> <Style x:Key="MyStyle " TargetType="{x:Type ComboBoxItem}"> <Style.Triggers> <Trigger Property="ComboBoxItem.IsSelected" Value="True"> <Setter TargetName="txtMyTextBox ...Show All
SQL Server Problem connecting to Distributor after coming back on-line
I have a Merge-Pull subscription setup on a laptop running SQL 2000 synchronizing with a SQL 2005 database. For the most part everything works fine. However, when I take the laptop off the network for more than 10 minutes and then reconnect back to the network, I see the following status message for the synchronization agent: The process could not connect to Distributor 'OurServer\InstanceName'. Specified SQL server not found. NOTE: The step was retried the requested number of times (10) without succeeding. It seems that the agent never picks up and starts again once this occurs. Is there a "best practice" for handling this situation For example, is there some way to tell the agent to auto-start once a network conne ...Show All
Community Chat What language do you prefer?
Could someone please enlighten me as to what the advantages and disadvantages of the following languages are, in general: C# C++ Visual Basic Also: I read somewhere that C++ was much better for game programming than VB, but why VB is easier to learn and use, so what are the advantages of C++ I guess you are talking about VBA ( Visual Basic for Application), not VB.Net. Not the same language at all, cause I've done some work with VBA with the CAD CATIA, same language (With some CATIA functions integrated to VBA). ...Show All
Visual Basic array allocation vs. memory available
When creating or redim'ing arrays, how does one tell if it was successful What if there wasn't enough memory available I can't find any documentation of an exception thrown when creating or redim'ing an array that needs more memory than the running system has available. Isn't that a real possibility What am I missing Steve if you wrap it in a try catch block and catch the exception if it was not successful. There are two ways of looking at memory (Physical and Virtual). For the most part with windows application, the memory is virtual which means you machine can use more than the physical RAM in your machine. It will create swap physical memory in out to disk when it it has to (someti ...Show All
SQL Server DTS Import data problem (exel into SQL server 2000)
Hi all, I face a small problem in DTS, hope you can help me to solve this issue. I designed a DTS package to import excel data ( with 4 column ) into SQL server database,The database design for the database table was column name type length ID bigint 8 CountedQty decimal 9 Location nvarchar 8 Other nvarchar 50 The DTS package is work and does not appear any error message. But the data in column 'Location' appeared <Null> after import into the database, this issue happen when the excel data was <numeric> value (string value in this data column can be accepted and appear nicely). Izzit because nvarc ...Show All
Visual C++ LNK2005 (VC8)
Hi! I'm getting following linker error (using /verbose): 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\lib\uuid.lib: 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbc32.lib: 2> Searching C:\Programme\Microsoft Visual Studio 8\VC\PlatformSDK\lib\odbccp32.lib: 2> Searching ..\debug\polling.lib: 2> Found "public: __thiscall polling::Poller_SurfAce112_E1::Poller_SurfAce112_E1(void)" ( 0Poller_SurfAce112_E1@polling@@QAE@XZ ) 2> Referenced in init.lib(SA112Init.obj) 2> Loaded polling.lib(Poller_SurfAce112_E1.obj) 2>polling.lib(Poller_SurfAce112_E1.obj) : error LNK2005: "char const * __cdecl std::_Find(char const *,char const *,int)" ( _Find@std@ ...Show All
Visual Studio Express Editions C# - How to add, edit and remove treeview items on the fly
Greetings! In my chat program, I need to go check the time intervals between one message and another for every user in the chat channel. I can already do that getting only one interval, but now I decided to store 9 intervals (for detecting bots, which use only one interval, or people who know how to configure them can alternate those intervals for avoiding the rules). I can store them, but I don't know how to display them. I'm thinking on a window with a TreeView control, and that each user is a node, and the 9 time intervals a subnode each one. However I don't know how would I do that exactly. I can make the treeview, create a node and the 9 subnodes, but how would I go into editing the subnodes in an already-existing node, on the fly , ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using Loaded Model With Custom Effect
I have loaded a simple sphere into my game using the standard content.Load<Model> approach. I also have an effect that I loaded using content.Load<Effect>. How can I render my model with this effect as opposed to the effects built into the model without having to write a content processor http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2/Loading_a_Model.php ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Quake bin release 2
New release of my Quake port to XNA. This one as a lot of new features like player walk, weapons (axe and rl), teleports and items. I still don't have help on this so things move slow. http://perpixel.dyndns.org/~guillaume/xna_quake_release_0.02.zip Enjoy! It just launches an exception when I try to run the .exe Perhaps you're missing a few files, or redistributables And frankly, I'm not too interested in Quake XNA if we don't have access to the source code. I mean, I come here to learn, and usually through example. I'm not interested in merely playing a game :\ And jah congrats on porting Quake over to XNA :) ...Show All
Smart Device Development A BUG of the Shared Source version of "Device Emulator, version 1.0"
I found a BUG in the source of Microsoft Shared Source Academic License for the Device Emulator, version 1.0 In the function DecodeThumbInstruction in armcpu.cpp about Line 5973. case 2: if (Opcode.LongBranch.Offset & 0x200) { // Offset is negative d->Offset = (0xfffffc00 | Opcode.LongBranch.Offset) << 12; } else { d->Offset = Opcode.LongBranch.Offset << 12; } this is decode for a Thumb long-branch instruction. According to ARM_ARM p330, the singed bit should be BIT10 = 0x0400, not 0x200 This BUG cause some Thumb long-branch call jumps to error location. Thanks alot David for reporting the issue. I have opened a bug for investigation and we'll get ...Show All
