dnetmgr's Q&A profile
Community Chat JimmyWidgets
--- Original Post --- Hi everyone! My current project is JimmyWidgets, a widget program like Apple Dashboard, but for PC! You can even make new widgets in DLL format and post em on the online database! When I've made more widgets (I've only got 2 at the moment), I'll post it at www.jimmyware.co.uk . It's going to be open-source, so you can download the source from there too. Here's a screenshot: http://www.freewebs.com/robinjam/JimmyWidgets%5FScreenshot.jpg I await any comments/suggestions! (But please don't be too harsh about my efforts, it took me HOURS) P.S. A list of problems I need to fix: The online database currently lets you download the same widget twice, making startup time longer (because ...Show All
SQL Server Replication vs other agent jobs
Hi all, after creating the replication job (works) other agent jobs hang up. after restart the agent, the jobs work one time. t can it be a problem with dieffernt agent profiles/accounts many thanks oliver ok, i find some more details... if i restart the agent i can manually start a job - and it works... if i wait till the agent a job is starting it fails for each step: Executed as user: domain\Administrator. The package execution failed. The step failed. after manually starting the job the following automatic hangs up with step one till stop agent The job was stopped pri ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is XNA the tool for serious game developers.
I'm trying to make the decision if our game development team should use XNA as the technology solution. The question is, if XNA is capabale, or is intended to be, a commercial game development tool set for serious game developers. Dave van Bale wrote: ... you cannot develop as easily as you can with C++/DirectX for alternative next-gen platforms (Macintosh (hah, as if), Wii or PS3). Well, to be fair, you cannot develop for alternative platforms with c++/ DirectX anyways I, however, haven't seen many remarks on the possibility to opening this to other platforms. http://www.taoframework.com/Mono.Xna ...Show All
Visual Studio Express Editions how to set a "label.text" for dynamical created labels ?
Hello, I created several labels on a form with the following code: For t=0 to 10 lbl_info = New Label lbl_info.Name = "info" + t.ToString : lbl_info.Text = "" AddHandler lbl_info.Click, AddressOf label_info_click Controls.Add(lbl_info) next t With the following code I can access the labels with a click Private Sub label_info_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Dim rb As Label = CType(sender, Label) MsgBox(rb.Name) End Sub Now I want to change the text of the labels in other parts of the program, and I have no idea how to set the "lbl_ino.text" for all the dynamically created labels. Has someone a tip for me Thanks Thanks to nobugz, Me.Con ...Show All
SQL Server Mining Accuracy Chart, predictable column in nested tables
In the Mining Accuracy Chart, the predictable columns of nested tables does not show up in the "Select predictable mining model columns to show in the lift chart" table. The "Predictable column name" is empty. Predictable columns in the case table shows up, but not the predictable columns in the nested table. What am I missing -Young K ...Show All
Game Technologies: DirectX, XNA, XACT, etc. State management nightmare
I'm in C++ and I have many different shape to draw Each of them come with different state : Render States Texture Stage States Sampler States Some are transparent, some use light, others use alpha test They can be call from function that I can place in any order in my code My problem is that I need to go back to the default state or undo what the previous state setting changed...before setting only the state I need I'm at a point where I will have to use 2 functions : SetAlphaON() and SetAlphaOFF() So I can immediatly remove any state change before I draw something else Is there a better way to undo any state change ID3DXEffectStateManager seems to do this for Fx files... One thing I ...Show All
Windows Forms RichTextBox to Word interop, a cleaner way than copy/paste?
Hi, I've got a RichTextBox on a winform that launches Word (2007) when the user signifies (via double clicking) that they need more word processing power. When the user closes word, the information (with formatting intact) should be moved back to the RichTextBox so that my application can resume working with it. I've got it working, but to transport the information with formatting to and from Word I've simply been using wordDocument.Select(), wordDocument.Copy(), and richTextBox1.Paste(). Surely there's a cleaner way to do this. I can get OpenXML out of the word doc, and the RichTextBox has the assignable Rtf accessor, but I'm still missing the converter, does anyone know how I could cut the clipboard out of this operation ...Show All
Visual Basic FileNotFound Exception
I have a FileNotFound exception that continues to keep me from showing .bmp files. I think it has to do with settings, or maybe it has to do with file permissions. I checked the bin \debug folder that is where they are located for reasons of simplicity. It also ask to make sure that the files are there and they are.Can someone help please. without showing some code how can we help It's correct however, if you recieve this exception you need to be sure that the file DOES exist in the path specified. You should also use the try catch statement/block to catch any exceptions that maybe thrown at runtime so you can handle it and present a user friendly message ...Show All
SQL Server Error: System.Runtime.InteropServices.COMException ...
Error: System.Runtime.InteropServices.COMException (0x80040428): Exception from HRESULT: 0x80040428 at DTS.PackageClass.Execute() at Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask.Exec80PackageTask.ExecuteThread() Can anyone tell what caused this error when I tried to run the DTS package from my SSIS package Thanks. Steve I have rewrote the DTS package into a stored procedure that 1) Truncates the target tables 2) Copy the data from the source on another database to the target tables 3) Backs up the target database. Now the account that would not run the DTS package runs a stored procedure successfully! ...Show All
Visual Studio Express Editions 3 line text file to be put into 3 text boxes
Hi. Ive got a text file which has: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 and 6 text boxes. How can i get my vb app to read the file and put each line into each textbox Thanks!!!! to read the first line of the file: Dim theStreamReader as new StreamReader( file ) dim theFirstLine as string = theStreamReader.ReadLine() theStreamReader.Close() to remove the line, I guess you would have to read the rest of the file except for the first line, then write it back. or a better way: Dim theFileStream as new FileStream( file , FileMode.Open, FileAccess.ReadWrite) Dim theStreamWriter as new StreamWriter(theFileStream) theFileStream.Seek(0, SeekOrigin.Begin) theStreamWriter.WriteLine() t ...Show All
SQL Server How do you get the last modified date column in SQL Management Studio
In 2000, the last modified date was show as a column when viewing the various database objects. So, after a long off-line session with a copy of a database, you could sort the query list, by last date modified, and script the recently changed queries to a file. It was very easy to see exactly what was changed recently. How do you do this in 2005 thanks lkh wrote: One other thought....SQL Server Service Pack 2 will be released soon. It has a new feature, Custom Reports, that will allow you to create a report based on any system object with the columns you want sorted the way you want and attach it to the node you want in Object Explorer. Books Online will have How-to infor ...Show All
Smart Device Development Connect with GPRS programatically for Pocket PC Client application
Hi All, I am developing Client Server TCP/IP based application in VB.Net. My Client Application is Smart Device application and going to be run on PDAs. This Client Application will connect with my server via TCP/IP using sockets. My Server Application is win form based application and going to be run on our server. Problem: { My Client Application needs GPRS to be connected. So, if GPRS is not connected, we have to do it manually. I am looking for the way where i can first check status of GPRS and then if it is in disconnected mode, i can connect is automatically using code. } I searched on net for the same and somewhere I found about Connection Manager Class of Open Net CF. But i didn't get any exact way or code sample to do it. I als ...Show All
SQL Server GACing components
Hi, help please!! I'm trying to GAC a component that I've built. I had one of my company's .Net gurus help me out with this and we did a few things without me actually following what was going on. Stuff like creating a public key, creating a .snk file in C:\Program Files\Microsoft SQL Server\90\DTS\PipelineComponents...I have to confess I didn't really follow what he was doing! But, we did manage to succssfully get my component into the SSIS toolbox which was the main thing. Then I looked at the BOL page explaining how to install and GAC stuff (ms-help://MS.VSCC.v80/MS.VSIPCC.v80/MS.SQLSVR.v9.en/dtsref9/html/efe22939-9186-4eb4-ac33-6b92f12e93db.htm) and it made no mention of the stuff we'd done. So, I tried to back that stuff out ...Show All
Visual Basic .Net Component in VB6.0
I have created a .net component and compile it with “Register for COM interop option” and used this component in VB6.0. Its working perfectly fine while tested locally. I created a package for the VB6.0 application and installed on a separate machine. It’s installed successfully. While I run the application it throws exception - ActiveX component can’t create object. Please Help! Assempbly is in the APPPath directory. And the remote machine will not be having the .Net Framework. I was able to fix the issue using regasm where remote machin has .net framework. Please Help ...Show All
SQL Server Group age by a parameter and find out the value corresponding to that.
Hi guys... My goal is to change the given stored procedure so that I can find out the different age gorup according to users parameter and find out sumof these values for that group: s.TVmins, s.Notional$, COUNT(*) AS Qty, SUM(s.TVmins) AS TVMinsAmt, SUM(s.Notional$) AS NotionalAmt For that I am planning to put another parameter @count for the group interval and I need to group accordingly. So my answer should look like: if the user give the @count value as 10: the result should: age group TVMins Notional 1-9 1560 125632( the sum of that particluar group) 10-19 -- -- --- 91-100 -- --- I have a field DOB( Date of birth) , I have to extract age from that field first and then g ...Show All
