tamorgen's Q&A profile
Windows Forms Splash Screen with PNG
Hi all, i need to do a splash form using a PNG image, how can i do this !! what i want todo is a splash screen similar to the photoshop ! anyone have a sample ! thks JSB thks, it realy work fine !! but is not doing what i need !!!, my problem is with the transparancies and shadows that is in png file. there ara others in the the code project quite good, but they all have the same problem !!! when i open the splash it looks fine, but it captures the screen behind and when i minimize the back programs, the image contains the information that it was when it was open jsb ...Show All
Visual Studio Express Editions graphics question
I have been asked to make a diagram out of information from a database. I dont know if this is possible but here goes: we have types of phone switches. that are connected via smaller ones BIG --> small --> and smaller Is there a way to have diagrams build via sql and VB Clueless Think of each switch as an object having properties. In actuality such an oject could be described in a structure which describes it including what else it is connected to. This would be easy represent graphically however the algorithms for the connections could be quite complex depending upon how much intelligence you want this to have. Where does one graphically place an object Would that be by size or in a location that minimi ...Show All
Windows Forms Enabling Menu Strip in Main form from child Form
Here is my code: Main form: Friend Sub LoadMenus(ByVal MenuPermissive As Boolean) Dim Blah As Boolean Blah = MenuPermissive If Blah = True Then MessageBox.Show("Test! IT WORKS!", Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Information) Me.ToolBar1.Visible = True End If End Sub Child form: MenuPermissive = True Dim AccessMenu As New Form1 AccessMenu.LoadMenus(MenuPermissive) I am able to display the message box, but it doesnt make the toolbar visable! Any help would be much appreciated! Thank you! nobugz, You're a genius! :) I've been strugling with this all day! Thank you! Here is the solution for anyone that cares: Main for ...Show All
Windows Forms pack my program with visual studio 2005
Hi all, How to pack my program to MS window installer with visual studio 2005 I tired serach some infomation with google, but the info not very good. Who can give good refer to me. Best Regards, These are Visual Studio 2003 but still relevant: http://simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/ http://simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/ http://simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All
Visual Basic What is wrong with the ComboBox !!
Hi all, I am writting very simple event for the ComboBox... but my msgbox displays nothing. kindly have alook at my code. Public Class Form1 Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) 'Handles ComboBox1.SelectedIndexChanged If Me .ComboBox1.SelectedIndex <> -1 Then 'MsgBox(Me.ComboBox1.Text.ToString) MsgBox( Me .ComboBox1.SelectedText.ToString) End If End Sub Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim conn As New Data.OleDb.OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\MaHMouD\Deskt ...Show All
Visual C# HOW DO I: Insert on a table, using tableadapter?
Hi, I guess my subject said a lot of my problem, but anyways i will try to explain it. this is it: Im new at this c# stuff, so i was tryin' to insert a row, into a two colums table. after tryin' with the DataRow Class, I got to the "tableAdapter.insert" method. it worked once... but I could'nt commit the changes.. not even using the AceptChanges method. anyways you get my point... anybody can help Actually this answare seemed to me very helpful, with only one problem.. the Sqlcommand stuff, i cant find it nither as a DataType or a class. is there anything wrong with my IDE ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Build speed with many projects
I've been working on my first large XNA project and am finding that building my projects takes forever. I have both my Windows and 360 projects in the same solution, and there are 5-6 projects each. Normal setups like this in Visual Studio are a incredibly quick to build on average, but with GSE I notice that it seems to be invoking MSBuild for every project regardless of the solution configuration or dirty state. For example, if I have platform set to x86, my build output window still scrolls the 360 projects, each one taking 1-2 seconds to find out it's not set to build. Worse yet, it does this for every project, every time I build, even if I just made a one line change in an assembly with no dependencies; builds take 25-30 seconds! M ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Strange face transparancy / flickering [video]
I'm sure I'm doing something wrong at a very basic level but I'm just not sure what it is. Video: http://www.minimame.com/files/WierdTiger/Tiger.html Can someone take a look at this video and observe how you can see geometry through what should be completely opaque, especially around the tops of the legs. There is nothing fancy here; no alpha or stenciling etc. Just plain rotating the sdk tiger model. What am I doing wrong Thanks in advance! Well actually, I'm not sure if I'm creating a Z-buffer, but that's a good point. I'm calling DXUTCreateDevice( D3DADAPTER_DEFAULT, TRUE, 800, 600 ); I copied the startup code from an SDK sample. ...Show All
SQL Server Problem printing reports
Hello, When print reports in Reporting Services 2005, the default paper is "A4", but our reports have letter size, or even "A3" or "legal". Could we set a default paper for printing for each report thanks, Pablo Orte The size, margins, and textboxes/table size are correct, but the default paper when you click on "print" is "A4", when the report size is much bigger. ...Show All
.NET Development Remoting server keeps crashing
Hi I've written a simple Windows service that monitors printers and print queues using WMI. Clients can connect to the service using remoting to monitor and control the printers (clear the queue, pause/resume printing etc). Everything works fine most of the time, but every so often (once or twice a week maybe) the service crashes with no error message - the event log looks like: .NET Runtime 2.0 Error (Description EventType clr20r3, P1 myprinting.service.exe, P2 2.1.4.25131, P3 45129a57, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 4055, P8 a3, P9 n3ctrye2kn3c34sgl4zqyrbfte4m13nb, P10 NIL.) Every method in the remoted interface is surrounded by try-catch exception handlers - catching the most generic exception class but it doesn't see ...Show All
SQL Server Problems with Poison Message Processing
I am getting the following Error and I can't find it in the Manual. Failure to send an event notification instance of type 'BROKER_QUEUE_DISABLED' on conversation handle '{5D273374-E84F-DB11-B3BC-0004239AB15C}' . Error Code = '8429' . I have checked the service name for the notification and it appears to be okay. Any ideas would be welcomed, Gary select * from sys.messages where message_id = 8429 The conversation endpoint is not in a valid state for SEND. The current endpoint state is '%ls'. This indicates that the dialog is ended prematurely, probably by a dialog error. The ERRORLOG file and the system eventlog will contain an entry indicati ...Show All
Visual Studio Express Editions FormName.Show()
I'm trying to just use a simple Show() function to open a form. It should work, but doesn't. ok this is wierd. Why do you have a timer on CSSBuilderTest form, on its form_load event, and then in the timer it closes it The problem seems to be in the CSSBuilderTest form, in the global variables. This one is the problem: Public ClassID As String = ClassIDSymbol & ID_Class.Text It can't get the values since everything is null/nothing and uninitialized. You need to set the values on say, form_load event. So: Public ClassID As String .. .. Private Sub CSSBuilderTest_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Timer1.Start() 'Take th ...Show All
Visual Studio Tools for Office Issue with InsertXML method
Hi Forum, I'm struggling with a strange behaviour of the InsertXML method. I'm preparing a WordML document by extracting the styles, lists and font settings from the actual document and include a separately created WordML chunk as the new w:body content. To check whether this works, I wrote the result to disc and opened it with Word. This works fine. I then referenced a Hosted bookmark's .Range object and called InsertXML to insert that WordML document. This worked at the beginning, but then, all of sudden, it stopped working and since then constantly throws error "HRESULT: 0x80010105 RPC_E_SERVERFAULT" instead. So, here's the code I'm using (simplified and abbreviated): using System; using System.Xml; ...Show All
SQL Server view dependency
Hi All, when i do a right click on a Table and go to View Dependencies, I get the option of viewing both objects that depend on this table and vice versa, but this has to be hierachial right Like if there are three tables A,B,C and A is dependent on B and B is dependent on C, I am able to see only from A to B, the relation from B to C is not coming. Am I wrong Can someone correct me on the option of view dependency Thanks I do get the tree view in my database, not sure of the one you have specified, but am not able to get past one level of relation. Ne ways thx for the replies. ...Show All
Visual Studio Express Editions C#.net
sorry guys if this is in the worng place. I am just getting started in the world of programing and i have sighned up for a course on c#.net and am trying to get the basics down before the couse arrives by looking on the net etc. my question is, is this language also known as Visual C# or is this a completely different language to C#.net Thanks for any help Good question!.Net and Visual C# are not the same thing, but Visual C# uses .Net to make Windows programming much easier. The short version is, if your course is C#.net, then Visual C# is what they are talking about. Here is a description of .Net technology: http://msdn.microsoft.com/netframework/technologyinfo/overview/default.aspx And ...Show All
