
Vetrijar
Avatar/Signature-
Posts
56 -
Joined
-
Last visited
About Vetrijar
- Birthday 11/15/1975
Personal Information
-
Visual Studio .NET Version
2003 Visual Studio.NET
-
.NET Preferred Language
Visual Basic
Vetrijar's Achievements
Newbie (1/14)
0
Reputation
-
Design a program that makes an executable program
Vetrijar replied to Vetrijar's topic in Deployment
Is there any simple examples that shows this? I did some programming of assembly compilers, linkers, and stuff years ago. Only did DOS style compiling. That was with C++. With VB.NET I'm wanting to do a visual form. There was a short sample on microsoft's website that showed the compiler from VB.NET but it only did a dos style window. how do you do a visual style window that shows (like a normal xp window) ?? any samples please if you know of any or helpful sites thx -
Is there a way to put a powerpoint presentation PPT or PPS file inside of a visual basic.net program and when you deploy it to not have the powerpoint attached through the directory? I was thinking through resources, but don't know if that is the right way, or if there's a better option. Trying to send a PPT to a company and not worry about them editing my presentation and saying it's theirs. (i already looked into password and other protections)
-
Ok, I KNOW it can be done because you can download programs made through visual basic that already do this. What I need to know is how to do it myself. How do you make an executable program through a program? I want to be able to (for example) create a program that lets the user design maybe a game, or add a PPT for for presentations in a plug in, and then have the program compile the information and create an exe from it that the user can click on. Is there a plugin that already allows this? Like an OCX for or .NET file that can be used with visual basic.net ? Or is this some long coding that has to be done? If so, does anyone have any website that show the steps? I can't find ANYTHING, nor find any keywords in a search engine that even bring up the subject about this. Please help!
-
Found Answer Think I finally found a fix! Found information on this site here's what my code looks like now. and it stores the date FINALLY. it was the date format. http://authors.aspalliance.com/aspxtreme/aspnet/types/datetimeformatstrings.aspx Dim mydate As Date mydate = CDate(data) ' 0000-00-00 00:00:00 <--- database format needed DataTestSystem.InsertCommand.CommandText = "INSERT DataTest SET mydate = '" & mydate.ToString("u") & "'" ' Update Info DataTestSystem.InsertCommand.Connection.Open() DataTestSystem.InsertCommand.ExecuteNonQuery() DataTestSystem.InsertCommand.Connection.Close() Now just need to make sure it will sort correctly..
-
Anybody out there know how to store the date ? I know I can't be the only one that wants to store a date in a database..
-
Help again ! Tried some more with it. still didn't work but I was able to get rid of that error message. Now it still stores the 0/00/0000 datetime stamp. I forgot the qoute 'getdate()' I've heard about some people getting 1/1/1900 as a number, mine is 0/0/0000 instead. Not sure what's going on here! Didn't think it would be this complex to store the current date! --- forgot to add --- It's a MySQL database. not sure if that's different.
-
Didn't work with the Getdate :-( Here's the error I get System.Data.Odbc.OdbcException: ERROR [42000] [MySQL][ODBC 3.51 Driver][mysqld-4.0.13-max-nt]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '()' at line 1 at System.Data.Odbc.OdbcConnection.HandleError(HandleRef hrHandle, SQL_HANDLE hType, RETCODE retcode) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method) at System.Data.Odbc.OdbcCommand.ExecuteNonQuery() at SecureXML.Service1.LeafofTheDay_Set(String name) at SecureXML.Service1.LeafofTheDay() Here's the code I put in there. Private Function LeafofTheDay_Set(ByVal name As String) As String InfoSystem.InsertCommand.CommandText = "UPDATE Info SET LeafoftheDay='" & name & "', LeafDayTime = getdate()" ' Update Info InfoSystem.InsertCommand.Connection.Open() InfoSystem.InsertCommand.ExecuteNonQuery() InfoSystem.InsertCommand.Connection.Close() End Function
-
I'm having a really hard time trying to update my database with a date/time stamp. Using a 'string' storage, I can store date/time but then I can't sort the date's because it's in string format rather than datetime format in the database. Right now I'm using NaviCat to manage the database. The database is for the date field called 'LeafDayTime' is set to store a 'datetime' value. In visual basic.net, I created an asmx project that accesses the database. The Dataset's name is 'InfoSet' in which one of the values in the schema is called 'LeafDayTime'. This also is a 'DateTime' value. The subroutine I created shows the following to update the database. Private Function LeafofTheDay_Set(ByVal name As String) As String InfoSystem.InsertCommand.CommandText = "UPDATE Info SET LeafoftheDay = '" & name & "', LeafDayTime = '" & Now & "' " ' Update Info InfoSystem.InsertCommand.Connection.Open() InfoSystem.InsertCommand.ExecuteNonQuery() InfoSystem.InsertCommand.Connection.Close() End Function What happens is that the database stores the name correctly and the date as 0/0/0000. I've tried storing as Now.ToOaDate as another site suggested. doesn't work. Only way around this is changing everything to a string for the date storing, but then I'm back to square one in which I cannot sort the database by datetime Please any help on this would be appreciated!
-
I'm having a problem with the regular expression validator or any other validator working correctly when the website is LIVE. everything works great when I'm debugging or testing the site on my home computer. The validator shows when I havent' typed enough characters when I exit the box, and tells me if there are any errors otherwise. When I have the site live and test it from a different computer. the validator doesn't even activate. there is no message that shows for anything. Is there some type of compatibility thing with the validator?? Shouldn't it work on all computers if it works on the .net testing on mine??? everything is TRUE mainly with the validator, and the display is set to dynamic. I need help. Not sure on code with this, as it's the graphic view of the validator.
-
forgot to add in, I have tried to load a control in the listbox, thinking it would let me set the window size and scroll through the controls loaded, but that didn't seem to work (nothing showed on the screen)
-
Is there anyway to create (or even find on the Internet premade) a message control that users can view messages from? I wanted to create a usercontrol that had a textbox and a delete button in it. the textbox would show a message, the delete key would delete that message from the list of messages being shown. In the main asp file, I want to have an area that holds each usercontrol message that is available. Ex. if there are 5 messages, then there will be 5 message usercontrols loaded on the aspx. The only catch with this is that I need the messages to fit in a preformatted window on the aspx page, so if there are a lot of messages, then that small window would allow the user to scroll through them. I don't know where to start on this. seeing if someone out there has any suggestions. there is no coding either since i can't figure how to start on this. at the moment, the only example I can think of that relates to this are the message 'alert' boxes from the SimCity 4 game
-
yes, I changed that now for it to work some. BUT THEN found something else that works good enough for me on teh server-side. I'm using the validator tools and applying them to the boxes. this works about the same "dynamic displaying" except it doesn't show the number of keys pressed. but that's ok for now. At least my site is done. I'm hoping it's done.. still have to see what happens when live people touch it.
-
Hmm.. Still see to have a slight problem now The javascript works when it's a textarea box that's not set with runat="server" Is there anyway to make that javascript run when the textarea is set to run at server mode? What I have is a list of textboxes, listboxes, etc that the user fills out. they click a save button that will run a vb.net function in aspx. this stores the stuff in a database. I also need to have the person know how many characters they have left (or using) for an essay question that requires 200 characters min, and 500 characters max. I really dont' want them having to manually count the characters or wait till they hit save just to find out they are short 103 characters or whatever.
-
Thanks. Is there a sample that you could show me? or a website that has a sample of something similar to that? could it be vbscript also?
-
testing my site right now on the Internet *crossing fingers* Need to fix one thing though if someone has an answer on this. I have a box that requires the member to type at least 200 characters. is there a way to show the number of characters currently being typed ? That way the member doesn't have to count them or click a button to find how many are left? All I have is a textbox multiline and a label that will show the characters typed after the member clicks a button to refresh.